WP HOOKS
akcjaod 3.1.0

manage_plugins_custom_column

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

Opis — z kodu źródłowego

Fires inside each custom column of the Plugins list table.

Parametry

ParametrTypOpis
$column_namestringName of the column.
$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.

Wywołanie

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

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

Popularne w tej kategorii