filtrod 6.0.0
plugin_install_description
Opis — z kodu źródłowego
Filters the plugin card description on the Add Plugins screen.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$description | string | Plugin card description. |
$plugin | array | An 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
}
// 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