WP_Customize_Manager::wp_die_handler(): callable

In this article

This method has been deprecated.

Returns the Ajax wp_die() handler if it’s a customized request.

Return

callable Die handler.

Source

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';
}

Changelog

VersionDescription
4.7.0This method has been deprecated.
3.4.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.