Add `@see` tag to hint at usage of `wp_doing_ajax`
This commit is contained in:
parent
d39bd0eb54
commit
5e4f6c7413
|
@ -261,6 +261,7 @@ if ( ! function_exists( 'is_ajax' ) ) {
|
||||||
/**
|
/**
|
||||||
* Is_ajax - Returns true when the page is loaded via ajax.
|
* Is_ajax - Returns true when the page is loaded via ajax.
|
||||||
*
|
*
|
||||||
|
* @see wp_doing_ajax() for an equivalent function provided by WordPress since 4.7.0
|
||||||
* @return bool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
function is_ajax() {
|
function is_ajax() {
|
||||||
|
|
Loading…
Reference in New Issue