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.

Usage

add_action( 'get_template_part_(slug)', 'action_function_name_8121', 10, 3 );
function action_function_name_8121( $slug, $name, $args ){
	// action...
}
$slug(string)
The slug name for the generic template.
$name(string/null)
The name of the specialized template.
$args(array)
Additional arguments passed to the template.

Список изменений

С версии 3.0.0 Введена.
С версии 5.5.0 The $args parameter was added.

Где вызывается хук

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

Где используется хук в ядре WordPress

Использование не найдено.