akcjaod 2.7.0
quick_edit_custom_box
Opis — z kodu źródłowego
Fires once for each column in Quick Edit mode.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$column_name | string | Name of the column to edit. |
$post_type | string | The post type slug, or current screen name if this is a taxonomy list table. |
$taxonomy | string | The taxonomy name, if any. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_action( 'quick_edit_custom_box', 'twoja_funkcja', 10, 3 );
function twoja_funkcja($param_1, $param_2, $param_3) {
// Twój kod
}
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_action( 'quick_edit_custom_box', 'twoja_funkcja', 10, 3 );
function twoja_funkcja($param_1, $param_2, $param_3) {
// Twój kod
}Popularne w tej kategorii