- new member directory;

This commit is contained in:
nikitasinelnikov
2019-09-04 14:54:03 +03:00
parent a7f046fe6f
commit 27135ed988
9 changed files with 88 additions and 74 deletions
+10
View File
@@ -32,6 +32,16 @@ if ( ! class_exists( 'UM_Functions' ) ) {
}
/**
* Check if AJAX now
*
* @return bool
*/
function is_ajax() {
return function_exists( 'wp_doing_ajax' ) ? wp_doing_ajax() : defined( 'DOING_AJAX' );
}
/**
* Check frontend nonce
*