akcjaod 3.0.0
pre_current_active_plugins
Opis — z kodu źródłowego
Fires before the plugins list table is rendered.
This hook also fires before the plugins list table is rendered in the Network Admin. Please note: The 'active' portion of the hook name does not refer to whether the current view is for active plugins, but rather all plugins actively-installed.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$plugins_all | array[] | An array of arrays containing information on all installed plugins. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_action( 'pre_current_active_plugins', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}
// rejestracja funkcji zwrotnej
add_action( 'pre_current_active_plugins', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}Popularne w tej kategorii