Done ! 403WebShell
403Webshell
Server IP : 162.0.217.223  /  Your IP : 216.73.216.168
Web Server : LiteSpeed
System : Linux premium269.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : mypckeys ( 1539)
PHP Version : 8.1.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/mypckeys/www/wp-content/themes/woodmart/inc/integrations/elementor/default-elements/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/mypckeys/www/wp-content/themes/woodmart/inc/integrations/elementor/default-elements/video.php
<?php
/**
 * Elementor video custom controls
 *
 * @package xts
 */

use Elementor\Controls_Manager;

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Direct access not allowed.
}

if ( ! function_exists( 'woodmart_add_video_custom_controls' ) ) {
	/**
	 * Video custom controls
	 *
	 * @since 1.0.0
	 *
	 * @param object $element The control.
	 */
	function woodmart_add_video_custom_controls( $element ) {
		$element->add_control(
			'wd_theme_style',
			[
				'label'        => esc_html__( 'Theme style', 'woodmart' ),
				'type'         => Controls_Manager::SWITCHER,
				'default'      => '',
				'label_on'     => esc_html__( 'Yes', 'woodmart' ),
				'label_off'    => esc_html__( 'No', 'woodmart' ),
				'return_value' => 'theme-style',
				'prefix_class' => 'wd-video-',
				'render_type'  => 'template',
				'condition' => [
					'show_image_overlay' => 'yes',
				],
			]
		);
	}

	add_action( 'elementor/element/video/section_video_style/after_section_start', 'woodmart_add_video_custom_controls' );
}

Youez - 2016 - github.com/yon3zu
LinuXploit