get_template_part

get_template_part

Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.5.2

do_action('get_template_part') is found 1 times:

  • /wp-includes/general-template.php line 204
    	 *                            string if there is none.
    	 * @param string[] $templates Array of template files to search for, in order.
    	 * @param array    $args      Additional arguments passed to the template.
    	 */
    	do_action( 'get_template_part', $slug, $name, $templates, $args );
    
    	if ( ! locate_template( $templates, true, false, $args ) ) {
    		return false;
    	}
    }