WordPress at Your Fingertips
function is not described

WP_Customize_Manager::wp_die_handler() public WP 3.4.0

Deprecated from version 4.7.0. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.

Return the Ajax wp_die() handler if it's a customized request.

{} It's a method of the class: WP_Customize_Manager{}

No Hooks.


callable. Die handler.


$WP_Customize_Manager = new WP_Customize_Manager();


Since 3.4.0 Introduced.
Deprecated 4.7.0

Code of WP_Customize_Manager::wp_die_handler() WP 5.8.1

public function wp_die_handler() {
	_deprecated_function( __METHOD__, '4.7.0' );

	if ( $this->doing_ajax() || isset( $_POST['customized'] ) ) {
		return '_ajax_wp_die_handler';

	return '_default_wp_die_handler';