403Webshell
Server IP : 87.98.154.146  /  Your IP : 216.73.216.50
Web Server : Apache
System : Linux webm004.cluster126.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User : ohklomafyi ( 52085)
PHP Version : 7.4.33
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/ohklomafyi/www/wp-content/plugins/ooohboi-steroids-for-elementor/controls/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/ohklomafyi/www/wp-content/plugins/ooohboi-steroids-for-elementor/controls/ooohboi-bullet.php
<?php
use Elementor\Controls_Manager;
use Elementor\Element_Base;

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}

/**
 * Main OoohBoi Bullet
 *
 * The main class that initiates and runs the plugin.
 *
 * @since 1.8.2
 */
class OoohBoi_Bullet {

	/**
	 * Initialize 
	 *
	 * @since 1.4.6
	 *
	 * @access public
	 */
	public static function init() {

        add_action( 'elementor/element/icon-list/section_icon_style/before_section_end',  [ __CLASS__, 'ooohboi_handle_bullet' ], 10, 2 );

    }
    
	public static function ooohboi_handle_bullet( $element, $args ) {

		$element->add_control(
			'_ob_bullet',
			[
				'label' => 'B U L L E T', 
				'type' => Controls_Manager::HEADING,
				'separator' => 'before', 
			]
        );

        // ------------------------------------------------------------------------- CONTROL: Moves bullet to top!
		$element->add_control(
			'_ob_bullet_move_top',
			[
				'label' => __( 'Move bullet to top', 'ooohboi-steroids' ), 
				'description' => __( 'NOTE: Takes effect with more than just one line of text!', 'ooohboi-steroids' ), 
				'separator' => 'before', 
				'type' => Controls_Manager::SWITCHER,
				'label_on' => __( 'Yes', 'ooohboi-steroids' ),
				'label_off' => __( 'No', 'ooohboi-steroids' ), 
				'return_value' => 'inherit', 
                'selectors' => [
                    '{{WRAPPER}} .elementor-icon-list-item, {{WRAPPER}} .elementor-icon-list-item a' => 'align-items: start;', 
                ],
			]
        );
		// ------------------------------------------------------------------------- CONTROL: Bullet top margin
		$element->add_responsive_control(
			'_ob_bullet_top_margin',
            [
				'label' => __( 'Margin Top', 'ooohboi-steroids' ),
				'type' => Controls_Manager::SLIDER,
				'range' => [
					'px' => [
						'max' => 100,
						'step' => 1,
					],
					'em' => [
						'max' => 10,
						'step' => 1,
					],
					'%' => [
						'max' => 100,
						'step' => 1,
					],
                ],
				'size_units' => [ 'px', 'em', '%', 'custom' ],
				'selectors' => [
					'{{WRAPPER}} .elementor-icon-list-item .elementor-icon-list-icon, {{WRAPPER}} .elementor-icon-list-item a .elementor-icon-list-icon' => 'margin-top: {{SIZE}}{{UNIT}};', 
                ],
				'condition' => [
					'_ob_bullet_move_top' => 'inherit',
				],
			]
		);

	}

}

Youez - 2016 - github.com/yon3zu
LinuXploit