Add `@see` tag to hint at usage of `wp_doing_ajax`

This commit is contained in:
jonathansadowski 2022-01-18 13:15:32 -06:00 committed by GitHub
parent d39bd0eb54
commit 5e4f6c7413
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -261,6 +261,7 @@ if ( ! function_exists( 'is_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
*/
function is_ajax() {