source/php/Helper/Wp.php
public static function isThickBox()
    {
        $referer = (isset($_SERVER['HTTP_REFERER'])) ? $_SERVER['HTTP_REFERER'] : null;

        if ((isset($_GET['is_thickbox']) && $_GET['is_thickbox'] == 'true')
            || strpos($referer, 'is_thickbox=true') > -1) {
            return true;
        } else {
            return false;
        }
    }
public static function isThickBox()
    {
        $referer = (isset($_SERVER['HTTP_REFERER'])) ? $_SERVER['HTTP_REFERER'] : null;

        if ((isset($_GET['is_thickbox']) && $_GET['is_thickbox'] == 'true')
            || strpos($referer, 'is_thickbox=true') > -1) {
            return true;
        } else {
            return false;
        }
    }
public static function isThickBox ( ) { $ referer = ( isset ( $ _SERVER [ 'HTTP_REFERER' ] ) ) ? $ _SERVER [ 'HTTP_REFERER' ] : null ; if ( ( isset ( $ _GET [ 'is_thickbox' ] ) && $ _GET [ 'is_thickbox' ] == 'true' ) || strpos ( $ referer , 'is_thickbox=true' ) > - 1 ) { return true ; } else { return false ; } }
Check if the add question form is opened in thickbox iframe
@return boolean
Check if the add question form is opened in thickbox iframe