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



upgrader_pre_install › Les Filtres WordPress

Depuis2.8.0
Dépréciéen/a
apply_filters( 'upgrader_pre_install', true, $args['hook_extra'] )
Paramètres: (2)
  • (bool|WP_Error) $response Installation response.
    Requis: Oui
  • (array) $hook_extra Extra arguments passed to hooked filters.
    Requis: Oui
Défini(e) dans:
Codex:

Filters the installation response before the installation has started.

Returning a value that could be evaluated as a WP_Error will effectively short-circuit the installation, returning that value instead.





Source

$res = apply_filters( 'upgrader_pre_install', true, $args['hook_extra'] );