WP HOOKS
akcjaod 4.6.0

customize_save_validation_before

Args 1Plik wp-includes/class-wp-customize-manager.phpDokumentacja WP ↗

Opis — z kodu źródłowego

Fires before save validation happens.

Plugins can add just-in-time {@see 'customize_validate_{$this->ID}'} filters at this point to catch any settings registered after customize_register. The dynamic portion of the hook name, $this->ID refers to the setting ID.

Parametry

ParametrTypOpis
$manager\WP_Customize_ManagerWP_Customize_Manager instance.

Wywołanie

Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_action( 'customize_save_validation_before', 'twoja_funkcja' );

function twoja_funkcja($param_1) {
	// Twój kod
}

Popularne w tej kategorii