WP HOOKS
akcjaod 2.3.0

after_plugin_row

Args 3Plik wp-admin/includes/class-wp-plugins-list-table.phpDokumentacja WP ↗

Opis — z kodu źródłowego

Fires after each row in the Plugins list table.

Parametry

ParametrTypOpis
$plugin_filestringPath to the plugin file relative to the plugins directory.
$plugin_dataarrayAn array of plugin data. See get_plugin_data() and the {@see 'plugin_row_meta'} filter for the list of possible values.
$statusstringStatus filter currently applied to the plugin list. Possible values are: 'all', 'active', 'inactive', 'recently_activated', 'upgrade', 'mustuse', 'dropins', 'search', 'paused', 'auto-update-enabled', 'auto-update-disabled'.

Wywołanie

Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_action( 'after_plugin_row', 'twoja_funkcja', 10, 3 );

function twoja_funkcja($param_1, $param_2, $param_3) {
	// Twój kod
}

Popularne w tej kategorii