Domain: antoinekatan.com
Server Adress: 10.127.20.23

privdayz.com

/home/xdxuekl/www/wp-content/plugins/quart-core/shortcodes/process/
Dosya Yükle :
Current File : /home/xdxuekl/www/wp-content/plugins/quart-core/shortcodes/process/functions.php

<?php

if ( class_exists( 'WPBakeryShortCodesContainer' ) ) {
	class WPBakeryShortCode_Mkdf_Process extends WPBakeryShortCodesContainer {}
}

if ( ! function_exists( 'quart_core_add_process_shortcodes' ) ) {
	function quart_core_add_process_shortcodes( $shortcodes_class_name ) {
		$shortcodes = array(
			'QuartCore\CPT\Shortcodes\Process\Process',
			'QuartCore\CPT\Shortcodes\Process\ProcessItem'
		);
		
		$shortcodes_class_name = array_merge( $shortcodes_class_name, $shortcodes );
		
		return $shortcodes_class_name;
	}
	
	add_filter( 'quart_core_filter_add_vc_shortcode', 'quart_core_add_process_shortcodes' );
}

if ( ! function_exists( 'quart_core_set_process_custom_style_for_vc_shortcodes' ) ) {
	/**
	 * Function that set custom css style for process shortcode
	 */
	function quart_core_set_process_custom_style_for_vc_shortcodes( $style ) {
		$current_style = '.wpb_content_element.wpb_mkdf_process_item > .wpb_element_wrapper {
			background-color: #f4f4f4; 
		}';
		
		$style .= $current_style;
		
		return $style;
	}
	
	add_filter( 'quart_core_filter_add_vc_shortcodes_custom_style', 'quart_core_set_process_custom_style_for_vc_shortcodes' );
}

if ( ! function_exists( 'quart_core_set_process_icon_class_name_for_vc_shortcodes' ) ) {
	/**
	 * Function that set custom icon class name for process shortcode to set our icon for Visual Composer shortcodes panel
	 */
	function quart_core_set_process_icon_class_name_for_vc_shortcodes( $shortcodes_icon_class_array ) {
		$shortcodes_icon_class_array[] = '.icon-wpb-process';
		$shortcodes_icon_class_array[] = '.icon-wpb-process-item';
		
		return $shortcodes_icon_class_array;
	}
	
	add_filter( 'quart_core_filter_add_vc_shortcodes_custom_icon_class', 'quart_core_set_process_icon_class_name_for_vc_shortcodes' );
}

coded by Privdayz.com - Visit https://privdayz.com/ for more php shells.