wp_before_include_template
wp_before_include_template
Appears in: wordpress-6.9
Hook Type: action
Displaying hooks found in version: wordpress-6.9do_action('wp_before_include_template') is found 1 times:
- /wp-includes/template-loader.php line 123
* @since 6.9.0 * * @param string $template The path of the template about to be included. */ do_action( 'wp_before_include_template', $template ); include $template; } elseif ( current_user_can( 'switch_themes' ) ) { $theme = wp_get_theme(); if ( $theme->errors() ) { wp_die( $theme->errors() );