WP HOOKS
filtrod 6.0.0

plugin_install_description

Args 2Plik wp-admin/includes/class-wp-plugin-install-list-table.phpDokumentacja WP ↗

Opis — z kodu źródłowego

Filters the plugin card description on the Add Plugins screen.

Parametry

ParametrTypOpis
$descriptionstringPlugin card description.
$pluginarrayAn array of plugin data. See {@see \plugins_api()} for the list of possible values.

Wywołanie

Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'plugin_install_description', 'twoja_funkcja', 10, 2 );

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

Popularne w tej kategorii