WP HOOKS
akcjaod 2.7.0

quick_edit_custom_box

Args 3Plik wp-admin/includes/class-wp-posts-list-table.phpDokumentacja WP ↗

Opis — z kodu źródłowego

Fires once for each column in Quick Edit mode.

Parametry

ParametrTypOpis
$column_namestringName of the column to edit.
$post_typestringThe post type slug, or current screen name if this is a taxonomy list table.
$taxonomystringThe 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
}

Popularne w tej kategorii