filtrod 6.8.1
bulk_action_observer_ids
Opis — z kodu źródłowego
Filters the array of field name attributes for bulk actions.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$bulk_action_observer_ids | array | { An array of field name attributes for bulk actions. @type string $bulk_action The bulk action field name. Default 'action'. @type string $changeit The new role field name. Default 'new_role'. } |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_filter( 'bulk_action_observer_ids', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}
// rejestracja funkcji zwrotnej
add_filter( 'bulk_action_observer_ids', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}Popularne w tej kategorii