filtrod 5.5.0
plugin_auto_update_setting_html
Opis — z kodu źródłowego
Filters the HTML of the auto-updates setting for each plugin in the Plugins list table.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$html | string | The HTML of the plugin's auto-update column content, including toggle auto-update action links and time to next update. |
$plugin_file | string | Path to the plugin file relative to the plugins directory. |
$plugin_data | array | An 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_filter( 'plugin_auto_update_setting_html', 'twoja_funkcja', 10, 3 );
function twoja_funkcja($param_1, $param_2, $param_3) {
// Twój kod
}
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'plugin_auto_update_setting_html', 'twoja_funkcja', 10, 3 );
function twoja_funkcja($param_1, $param_2, $param_3) {
// Twój kod
}Popularne w tej kategorii