set_404(); } status_header( 404 ); nocache_headers(); $template = get_404_template(); if ( $template && file_exists( $template ) ) { include $template; } else { wp_die( esc_html__( 'Page not found.', 'ai-guardwall' ), esc_html__( 'Not found', 'ai-guardwall' ), array( 'response' => 404 ) ); } exit; } }