get_template_part – action
Fires before an attempt is made to locate and load a template part.
Parameters
- .
- ( 5.2.0 ) . .
- The
- ( 5.5.0 ) `$args` parameter was added. . . .
- ( string ) $slug The slug name for the generic template. . . .
- ( string ) $name The name of the specialized template. . . .
- $templates
- ( string[] ) Array of template files to search for, in order. . . .
- ( array ) $args Additional arguments passed to the template. . . .