filtrod 3.2.0
ms_user_row_actions
Opis — z kodu źródłowego
Filters the action links displayed under each user in the Network Admin Users list table.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$actions | string[] | An array of action links to be displayed. Default 'Edit', 'Delete'. |
$user | \WP_User | WP_User object. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'ms_user_row_actions', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'ms_user_row_actions', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}Popularne w tej kategorii