WP_Customize_Manager::wp_die_handler PHP Method

wp_die_handler() public method

Return the Ajax wp_die() handler if it's a customized request.
Deprecation: 4.7.0
Since: 3.4.0
public wp_die_handler ( ) : callable
return callable Die handler.
    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';
    }
WP_Customize_Manager