HEX
Server: Apache
System: Linux webm013.cluster123.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: lesanew (165608)
PHP: 8.3.31
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/lesanew/www/wp-content/themes/neobeat/inc/404/helper.php
<?php

if ( ! function_exists( 'neobeat_set_404_page_inner_classes' ) ) {
	/**
	 * Function that return classes for the page inner div from header.php
	 *
	 * @param $classes string
	 *
	 * @return string
	 */
	function neobeat_set_404_page_inner_classes( $classes ) {
		
		if ( is_404() ) {
			$classes = 'qodef-content-full-width';
		}
		
		return $classes;
	}
	
	add_filter( 'neobeat_filter_page_inner_classes', 'neobeat_set_404_page_inner_classes' );
}

if ( ! function_exists( 'neobeat_get_404_page_parameters' ) ) {
	/**
	 * Function that set 404 page area content parameters
	 */
	function neobeat_get_404_page_parameters() {
		
		$params = array(
			'title'       => esc_html__( 'Error Page', 'neobeat' ),
			'text'        => esc_html__( 'The page you are looking for doesn\'t exist. It may have been moved or removed altogether. Please try searching for some other page, or return to the website\'s homepage to find what you\'re looking for.', 'neobeat' ),
			'button_text' => esc_html__( 'Back to home', 'neobeat' )
		);
		
		return apply_filters( 'neobeat_filter_404_page_template_params', $params );
	}
}