HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux ip-172-31-27-128 6.8.0-1033-aws #35~22.04.1-Ubuntu SMP Wed Jul 23 17:51:00 UTC 2025 x86_64
User: ubuntu (1000)
PHP: 8.1.2-1ubuntu2.22
Disabled: NONE
Upload Files
File: /var/www/dura-films/wp-content/themes/boldlab/inc/404/helper.php
<?php

if ( ! function_exists( 'boldlab_set_404_page_inner_classes' ) ) {
	/**
	 * Function that return classes for the page inner div from header.php
	 *
	 * @param $classes string
	 *
	 * @return string
	 */
	function boldlab_set_404_page_inner_classes( $classes ) {

		if ( is_404() ) {
			$classes = 'qodef-content-full-width';
		}

		return $classes;
	}

	add_filter( 'boldlab_filter_page_inner_classes', 'boldlab_set_404_page_inner_classes' );
}

if ( ! function_exists( 'boldlab_get_404_page_parameters' ) ) {
	/**
	 * Function that set 404 page area content parameters
	 */
	function boldlab_get_404_page_parameters() {

		$params = array(
			'title'       => esc_html__( 'Error Page', 'boldlab' ),
			'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 site\'s homepage to find what you\'re looking for.', 'boldlab' ),
			'button_text' => esc_html__( 'Back to home _', 'boldlab' )
		);

		return apply_filters( 'boldlab_filter_404_page_template_params', $params );
	}
}