mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
- new member directory;
This commit is contained in:
@@ -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
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user