WP HOOKS
akcjaod 3.0.0

pre_current_active_plugins

Args 1Plik wp-admin/plugins.phpDokumentacja WP ↗

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

ParametrTypOpis
$plugins_allarray[]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
}

Popularne w tej kategorii