WordPress at a glance
action is not described

get_template_part_(slug) action-hook . WP 3.0.0

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.


add_action( 'get_template_part_(slug)', 'action_function_name_1163', 10, 2 );
function action_function_name_1163( $slug, $name ){
	// action...
The slug name for the generic template.
The name of the specialized template.


Since 3.0.0 Introduced.

Where the hook is called

wp-includes/general-template.php 147
do_action( "get_template_part_{$slug}", $slug, $name );

Where in WP core the hook is used

Usage not found!