wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



wp_before_load_template › Les Actions WordPress

Depuis6.1.0
Dépréciéen/a
do_action( 'wp_before_load_template', $_template_file, $load_once, $args )
Paramètres: (3)
  • (string) $_template_file The full path to the template file.
    Requis: Oui
  • (bool) $load_once Whether to require_once or require.
    Requis: Oui
  • (array) $args Additional arguments passed to the template.
    Requis: Oui
Défini(e) dans:
Codex:

Fires before a template file is loaded.





Source

do_action( 'wp_before_load_template', $_template_file, $load_once, $args );