Submit
Path:
~
/
home
/
getwphos
/
www
/
brueggemann
/
wp-content
/
plugins
/
wanderland-core
/
shortcodes
/
horizontal-timeline
/
File Content:
functions.php
<?php if ( class_exists( 'WPBakeryShortCodesContainer' ) ) { class WPBakeryShortCode_Mkdf_Horizontal_Timeline extends WPBakeryShortCodesContainer {} } if ( ! function_exists( 'wanderland_core_add_horizontal_timeline_shortcodes' ) ) { function wanderland_core_add_horizontal_timeline_shortcodes( $shortcodes_class_name ) { $shortcodes = array( 'WanderlandCore\CPT\Shortcodes\HorizontalTimeline\HorizontalTimeline', 'WanderlandCore\CPT\Shortcodes\HorizontalTimeline\HorizontalTimelineItem' ); $shortcodes_class_name = array_merge( $shortcodes_class_name, $shortcodes ); return $shortcodes_class_name; } add_filter( 'wanderland_core_filter_add_vc_shortcode', 'wanderland_core_add_horizontal_timeline_shortcodes' ); } if ( ! function_exists( 'wanderland_core_set_icon_horizontal_timeline_class_name_for_vc_shortcodes' ) ) { /** * Function that set custom icon class name for horizontal timeline shortcode to set our icon for Visual Composer shortcodes panel */ function wanderland_core_set_icon_horizontal_timeline_class_name_for_vc_shortcodes( $shortcodes_icon_class_array ) { $shortcodes_icon_class_array[] = '.icon-wpb-horizontal-timeline'; $shortcodes_icon_class_array[] = '.icon-wpb-horizontal-timeline-item'; return $shortcodes_icon_class_array; } add_filter( 'wanderland_core_filter_add_vc_shortcodes_custom_icon_class', 'wanderland_core_set_icon_horizontal_timeline_class_name_for_vc_shortcodes' ); }
Submit
FILE
FOLDER
Name
Size
Permission
Action
assets
---
0755
templates
---
0755
functions.php
1452 bytes
0644
horizontal-timeline-item.php
2543 bytes
0644
horizontal-timeline.php
1462 bytes
0644
load.php
286 bytes
0644
N4ST4R_ID | Naxtarrr