%k25u25%fgd5n!
/home/nancmxek/ljsecuredoors.com/wp-content/plugins/windoor-pro/modules/404/template-loader.php
<?php
if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}

if( !class_exists( 'WindoorPro404Loader' ) ) {
    class WindoorPro404Loader {
        private static $_instance = null;

        public static function instance() {
            if ( is_null( self::$_instance ) ) {
                self::$_instance = new self();
            }

            return self::$_instance;
        }

        function __construct() {

            add_filter( 'windoor_404_page_params', array( $this, 'page_404_customizer_params' ) );

            $page_id = windoor_customizer_settings( 'notfound_pageid' );
            if( !empty( $page_id )  ) {
                add_filter( 'windoor_404_get_template_part', array( $this, 'load_template' ), 11 );
            }
        }

        function page_404_customizer_params() {
            $page_id           = windoor_customizer_settings('notfound_pageid' );
            $enable_404message = windoor_customizer_settings('enable_404message');
            $notfound_style    = windoor_customizer_settings('notfound_style');
            $notfound_darkbg   = windoor_customizer_settings('notfound_darkbg');
            $notfound_bg       = windoor_customizer_settings('notfound_background' );
            $notfound_bg_style = windoor_customizer_settings('notfound_bg_style' );

            return array(
                'page_id'           => $page_id,
                'enable_404message' => $enable_404message,
                'notfound_style'    => $notfound_style,
                'notfound_darkbg'   => $notfound_darkbg,
                'notfound_bg'       => $notfound_bg,
                'notfound_bg_style' => $notfound_bg_style,
            );
        }

        function load_template() {

            $param = $this->page_404_customizer_params();
            return windoor_get_template_part( '404', 'layouts/custom-page', '', $param );

        }
    }
}

WindoorPro404Loader::instance();