wp_before_load_template – action
Fires before a template file is loaded.
Parameters
- .
- ( 6.1.0 ) . .
- $_template_file
- ( string ) The full path to the template file. . . .
- ( bool ) $require_once Whether to require_once or require. . . .
- ( array ) $args Additional arguments passed to the template. . . .