Uname: Linux gra108.truehost.cloud 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
Software: LiteSpeed
PHP version: 8.2.26 [ PHP INFO ] PHP os: Linux
Server Ip: 87.98.244.154
Your Ip: 18.222.168.73
User: pumpbmko (2127) | Group: pumpbmko (2132)
Safe Mode: OFF
Disable Function:
allow_url_fopen, show_source, system, shell_exec, passthru, exec, phpinfo, mail, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apallow_url_fopen,show_source, system, shell_exec, passthru, exec, phpinfo, mail, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, ap

name : customizer.php
<?php
/**
 * Theme Customizer
 *
 * @package Impressive_Portfolio
 */

function impressive_portfolio_customize_register( $wp_customize ) {

	// Upsell Section.
	$wp_customize->add_section(
		new Impressive_Portfolio_Upsell_Section(
			$wp_customize,
			'upsell_sections',
			array(
				'title'            => __( 'Impressive Portfolio Pro', 'impressive-portfolio' ),
				'button_text'      => __( 'Buy Pro', 'impressive-portfolio' ),
				'url'              => 'https://ascendoor.com/themes/impressive-portfolio-pro/',
				'background_color' => '#ff6762',
				'text_color'       => '#fff',
				'priority'         => 0,
			)
		)
	);

}
add_action( 'customize_register', 'impressive_portfolio_customize_register' );

function impressive_portfolio_custom_control_scripts() {

	// Append .min if SCRIPT_DEBUG is false.
	$min = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min';
	wp_enqueue_style( 'impressive-portfolio-custom-controls-css', get_stylesheet_directory_uri() . '/assets/css/custom-controls' . $min . '.css', array( 'pure-portfolio-custom-controls-css' ), '1.0', 'all' );
	wp_enqueue_script( 'impressive-portfolio-custom-controls-js', get_stylesheet_directory_uri() . '/assets/js/custom-controls' . $min . '.js', array( 'pure-portfolio-custom-controls-js', 'jquery', 'jquery-ui-core', 'jquery-ui-sortable' ), '1.0', true );
}
add_action( 'customize_controls_enqueue_scripts', 'impressive_portfolio_custom_control_scripts' );
© 2025 GrazzMean-Shell