apply_filters( 'wp_doing_ajax', bool $wp_doing_ajax )

Filters whether the current request is a WordPress Ajax request.


Parameters

$wp_doing_ajax bool
Whether the current request is a WordPress Ajax request.

Top ↑

Source

File: wp-includes/load.php. View all references

return apply_filters( 'wp_doing_ajax', defined( 'DOING_AJAX' ) && DOING_AJAX );


Top ↑

Changelog

Changelog
Version Description
4.7.0 Introduced.

Top ↑

User Contributed Notes

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