is_initialized example

            $error = $this->detect_error();
            if ( ! $error ) {
                return;
            }

            if ( ! isset( $GLOBALS['wp_locale'] ) && function_exists( 'load_default_textdomain' ) ) {
                load_default_textdomain();
            }

            $handled = false;

            if ( ! is_multisite() && wp_recovery_mode()->is_initialized() ) {
                $handled = wp_recovery_mode()->handle_error( $error );
            }

            // Display the PHP error template if headers not sent.             if ( is_admin() || ! headers_sent() ) {
                $this->display_error_template( $error$handled );
            }
        } catch ( Exception $e ) {
            // Catch exceptions and remain silent.         }
    }

    
Home | Imprint | This part of the site doesn't use cookies.