gianism_skip_redirect

gianism_skip_redirect

Hook Type: filter

See hook in core

Displaying hooks found in version: gianism.5.2.2

apply_filters('gianism_skip_redirect') is found 1 times:

  • /app/Gianism/Controller/ProfileChecker.php line 184
    		if ( ! $skip_redirect && current_user_can( 'manage_options' ) ) {
    			$skip_redirect = true;
    		}
    		// Hook for redirection.
    		$skip_redirect = apply_filters( 'gianism_skip_redirect', $skip_redirect );
    		if ( $skip_redirect ) {
    			return;
    		}
    		wp_redirect( $this->redirect_url() );
    	}