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



pre_handle_404 › Les Filtres WordPress

Depuis4.5.0
Dépréciéen/a
› apply_filters( 'pre_handle_404', false, $wp_query )
Paramètres: (2)
  • () preempt Whether to short-circuit default header status handling. Default false.
    Requis: Oui
  • () wp_query WordPress Query object.
    Requis: Oui
Défini(e) dans:
Codex:

Filters whether to short-circuit default header status handling.

Returning a non-false value from the filter will short-circuit the handling and return early.




Source

if ( false !== apply_filters( 'pre_handle_404', false, $wp_query ) ) {