filtrod 5.5.0
plugin_auto_update_debug_string
Opis — z kodu źródłowego
Filters the text string of the auto-updates setting for each plugin in the Site Health debug data.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$auto_updates_string | string | The string output for the auto-updates column. |
$plugin_path | string | The path to the plugin file. |
$plugin | array | An array of plugin data. |
$enabled | bool | Whether auto-updates are enabled for this item. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'plugin_auto_update_debug_string', 'twoja_funkcja', 10, 4 );
function twoja_funkcja($param_1, $param_2, $param_3, $param_4) {
// Twój kod
}
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'plugin_auto_update_debug_string', 'twoja_funkcja', 10, 4 );
function twoja_funkcja($param_1, $param_2, $param_3, $param_4) {
// Twój kod
}Popularne w tej kategorii