WordPress at Your Fingertips
action is not described

get_template_part action-hook . WP 5.2.0

Fires before a template part is loaded.


add_action( 'get_template_part', 'action_function_name_5061', 10, 4 );
function action_function_name_5061( $slug, $name, $templates, $args ){
	// action...
The slug name for the generic template.
The name of the specialized template.
Array of template files to search for, in order.
Additional arguments passed to the template.


Since 5.2.0 Introduced.
Since 5.5.0 The $args parameter was added.

Where the hook is called

wp-includes/general-template.php 202
do_action( 'get_template_part', $slug, $name, $templates, $args );

Where in WP core the hook is used WordPress

Usage not found.