| Server IP : 65.109.86.83 / Your IP : 37.27.51.148 Web Server : nginx/1.14.1 System : Linux libra 4.18.0-553.51.1.el8_10.x86_64 #1 SMP Wed Apr 30 20:24:04 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.3.31 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/html/wp-content/plugins/404page/ |
Upload File : |
<?php
/**
* The 404page Plugin Loader
*
* @since 7
*
**/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
/**
* Load Plugin Foundation
* @since 11.0.0
*/
require_once( plugin_dir_path( __FILE__ ) . '/inc/ppf/loader.php' );
/**
* Load Plugin Main File
*/
require_once( plugin_dir_path( __FILE__ ) . '/inc/class-404page.php' );
/**
* Load Plugin Functions
*/
require_once( plugin_dir_path( __FILE__ ) . '/functions.php' );
/**
* Load Plugin Shortcodes
* @since 11.4.0
*/
require_once( plugin_dir_path( __FILE__ ) . '/shortcodes.php' );
/**
* Load Plugin Block
* @since 11.4.0
*/
require_once( plugin_dir_path( __FILE__ ) . '/block.php' );
/**
* Main Function
*/
function pp_404page() {
return PP_404Page::getInstance( array(
'file' => dirname( __FILE__ ) . '/404page.php',
'slug' => pathinfo( dirname( __FILE__ ) . '/404page.php', PATHINFO_FILENAME ),
'name' => 'Smart Custom 404 error page [404page]',
'shortname' => '404page',
'version' => '11.4.8'
) );
}
/**
* Run the plugin
*/
pp_404page();