Fires before an attempt is made to locate and load a template part.
Parameters
$slug
string- The slug name for the generic template.
$name
string- The name of the specialized template or an empty string if there is none.
$templates
string[]- Array of template files to search for, in order.
$args
array- Additional arguments passed to the template.
Source
do_action( 'get_template_part', $slug, $name, $templates, $args );
User Contributed Notes
You must log in before being able to contribute a note or feedback.