get_template_part

get_template_part

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.7.2

do_action('get_template_part') is found 1 times:

  • /wp-includes/general-template.php line 204
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
         *                            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;
        }
    }