Submit
Path:
~
/
home
/
getwphos
/
public_html
/
milceticarch
/
wp-content
/
plugins
/
edge-core
/
shortcodes
/
single-image
/
File Content:
functions.php
<?php if(!function_exists('edgtf_core_add_single_image_shortcodes')) { function edgtf_core_add_single_image_shortcodes($shortcodes_class_name) { $shortcodes = array( 'EdgeCore\CPT\Shortcodes\SingleImage\SingleImage' ); $shortcodes_class_name = array_merge($shortcodes_class_name, $shortcodes); return $shortcodes_class_name; } add_filter('edgtf_core_filter_add_vc_shortcode', 'edgtf_core_add_single_image_shortcodes'); } if( !function_exists('edgtf_core_set_single_image_icon_class_name_for_vc_shortcodes') ) { /** * Function that set custom icon class name for single image shortcode to set our icon for Visual Composer shortcodes panel */ function edgtf_core_set_single_image_icon_class_name_for_vc_shortcodes($shortcodes_icon_class_array) { $shortcodes_icon_class_array[] = '.icon-wpb-single-image'; return $shortcodes_icon_class_array; } add_filter('edgtf_core_filter_add_vc_shortcodes_custom_icon_class', 'edgtf_core_set_single_image_icon_class_name_for_vc_shortcodes'); }
Submit
FILE
FOLDER
Name
Size
Permission
Action
assets
---
0755
templates
---
0755
functions.php
1018 bytes
0644
load.php
149 bytes
0644
single-image.php
5586 bytes
0644
N4ST4R_ID | Naxtarrr