403Webshell
Server IP : 213.186.33.4  /  Your IP : 216.73.216.222
Web Server : Apache
System : Linux webm005.cluster103.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64
User : karinebmkh ( 644538)
PHP Version : 8.4.22
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/karinebmkh/www/wp-content/plugins/divi-pixel/admin/customizer/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/karinebmkh/www/wp-content/plugins/divi-pixel/admin/customizer/class-customizer-font-style.php
<?php

class Customizer_Font_Style extends \WP_Customize_Control {

    public function __construct( $manager, $id, $args = array() ) {
        parent::__construct($manager, $id, $args);
        // if(isset($args['cta'])){
        //     $this->show_cta = $args['cta'];
        // }
    }

	/**
	 * Enqueue scripts/styles.
	 *
	 * @since 1.0.0
	 */
	public function enqueue() {
		wp_enqueue_script( 'customizer-font-style', $this->abs_path_to_url( dirname( __FILE__ ) . '/js/customizer-font-style.js' ), array( 'jquery' ), rand(), true );
		wp_enqueue_style( 'customizer-font-style', $this->abs_path_to_url( dirname( __FILE__ ) . '/css/customizer-font-style.css' ), array(), rand() );
	}

	/**
	 * Render the control's content.
	 *
	 * @author Jan Thielemann
	 * @version 1.0.0
	 */
	public function render_content() {
		?>
		<label>
			<div class="dipi_customizer_control_font_style">
                <span class="dipi_customizer_control_font_style_label customize-control-title"><?php echo esc_html( $this->label ); ?></span>
                <input  type="text" 
                        id="font_style_<?php echo $this->instance_number; ?>" 
                        class="dipi_font_style dipi_font_style-<?php echo $this->type; ?>" 
                        value="<?php echo esc_attr( $this->value() ); ?>"
                        <?php $this->input_attrs(); ?>
                        <?php $this->link(); ?>
                    >
                <div class="dipi_customizer_control_font_style_buttons">
                    <div class="button button_italic">I</div>
                    <div class="button button_uppercase">TT</div>
                    <div class="button button_small_caps">Tt</div>
                    <div class="button button_underline">U</div>
                    <div class="button button_strike_through">S</div>
                </div>
			</div>
			<?php if ( ! empty( $this->description ) ) : ?>
			<span class="dipi_customizer_control_font_style_description description customize-control-description"><?php echo $this->description; ?></span>
            <?php endif; ?>
		</label>
		<?php
	}

	/**
	 * Plugin / theme agnostic path to URL
	 *
	 * @see https://wordpress.stackexchange.com/a/264870/14546
	 * @param string $path  file path
	 * @return string       URL
	 */
	private function abs_path_to_url( $path = '' ) {
		$url = str_replace(
			wp_normalize_path( untrailingslashit( ABSPATH ) ),
			site_url(),
			wp_normalize_path( $path )
		);
		return esc_url_raw( $url );
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit