wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



upgrader_pre_install › Filtr WordPress Hooks

Od2.8.0
Przestarzałyn/a
apply_filters( 'upgrader_pre_install', true, $args['hook_extra'] )
Parametry: (2)
  • (bool|WP_Error) $response Installation response.
    Wymagane: Tak
  • (array) $hook_extra Extra arguments passed to hooked filters.
    Wymagane: Tak
Zdefiniowane na:
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.





Źródło

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