wordpress/wp-content/themes/basic/themify/class-themify-cache.php
/**
     * Check if ajax request
     *
     * @param void
     *
     * return boolean
     */
Check if ajax request
@param void

return boolean
Check if ajax request @param void return boolean
public static function is_ajax() {
        static $is = null;
        if($is===null){
            $is = defined('DOING_AJAX') || (isset($_SERVER['HTTP_X_REQUESTED_WITH']) && strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) === 'xmlhttprequest');
        }
        return $is;
    }
public static function is_ajax ( ) { static $ is = null ; if ( $ is === null ) { $ is = defined ( 'DOING_AJAX' ) || ( isset ( $ _SERVER [ 'HTTP_X_REQUESTED_WITH' ] ) && strtolower ( $ _SERVER [ 'HTTP_X_REQUESTED_WITH' ] ) === 'xmlhttprequest' ) ; } return $ is ; }
Check if ajax request
 @param void
Check if ajax request @param void