get_template_part_$slug – action

Fires before the specified template part file is loaded. The dynamic portion of the hook name, `$slug`, refers to the slug name for the generic template part.

Parameters

.
( 3.0.0 ) . .
The
( 5.5.0 ) `$args` parameter was added. . . .
( string ) $slug The slug name for the generic template. . . .
$name
( string|null ) The name of the specialized template. . . .
( array ) $args Additional arguments passed to the template. . . .
API Letters: ,,,

Implementers