Warning: This method has been deprecated.

WP_Customize_Manager::wp_die_handler() WordPress Method

The WP_Customize_Manager::wp_die_handler() is a method used to kill the WordPress execution process. This is typically done when an error has occurred that is beyond the scope of the WordPress application.

WP_Customize_Manager::wp_die_handler() #

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


Return

(callable) Die handler.


Top ↑

Source

File: wp-includes/class-wp-customize-manager.php

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


Top ↑

Changelog

Changelog
VersionDescription
4.7.0This method has been deprecated.
3.4.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.