wppaste
WordPress

apply_filters( 'wp_die_ajax_handler', callable $callback )

Since
3.4.0
Filters the callback for killing WordPress execution for Ajax requests.

Parameters

$callbackcallable
Callback function name.

Fired at · 1

  • wp-includes/functions.php:3799wp_die()

Source

		 * Filters the callback for killing WordPress execution for Ajax requests.		 *		 * @since 3.4.0		 *		 * @param callable $callback Callback function name.		 */		$callback = apply_filters( 'wp_die_ajax_handler', '_ajax_wp_die_handler' );	} elseif ( wp_is_json_request() ) {		/**		 * Filters the callback for killing WordPress execution for JSON requests.		 *		 * @since 5.1.0		 *

History

Introduced in 3.4.0. Unchanged from 6.7.7 through 7.1.0.

  1. 6.7.7
  2. 6.8.8
  3. 6.9.7
  4. 7.0.4
  5. 7.1.0

Signature, return type and hooks compared across 5 parsed releases.

About this page

Parsed data
Generated from the wordpress-develop 7.0.4 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.