Failed to save the file to the "xx" directory.

Failed to save the file to the "ll" directory.

Failed to save the file to the "mm" directory.

Failed to save the file to the "wp" directory.

403WebShell
403Webshell
Server IP : 66.29.132.124  /  Your IP : 3.145.79.214
Web Server : LiteSpeed
System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : wavevlvu ( 1524)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/wavevlvu/misswavenigeria.com/wp-content/plugins/siteorigin-panels/inc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/wavevlvu/misswavenigeria.com/wp-content/plugins/siteorigin-panels/inc/home.php
<?php

class SiteOrigin_Panels_Home {
	public function __construct() {
		add_action( 'admin_menu', array( $this, 'admin_menu' ) );
	}

	public static function single() {
		static $single;

		return empty( $single ) ? $single = new self() : $single;
	}

	/**
	 * Add items to the admin menu
	 *
	 * @action admin_menu
	 */
	public function admin_menu() {
		if ( ! siteorigin_panels_setting( 'home-page' ) ) {
			return;
		}

		add_theme_page(
			__( 'Custom Home Page Builder', 'siteorigin-panels' ),
			__( 'Home Page', 'siteorigin-panels' ),
			'edit_theme_options',
			'so_panels_home_page',
			array( $this, 'render_home' )
		);
	}

	/**
	 * Render the home page interface.
	 */
	public function render_home() {
		// We need a global post for some features in Page Builder (eg history)
		global $post;

		$home_page_id = get_option( 'page_on_front' );

		if ( empty( $home_page_id ) ) {
			$home_page_id = get_option( 'siteorigin_panels_home_page_id' );
		}

		$home_page = get_post( $home_page_id );

		if ( ! empty( $home_page ) && get_post_meta( $home_page->ID, 'panels_data', true ) != '' ) {
			$post = $home_page;
		}

		$panels_data = SiteOrigin_Panels_Admin::single()->get_current_admin_panels_data();
		include plugin_dir_path( __FILE__ ) . '../tpl/admin-home-page.php';
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit