Submit
Path:
~
/
home
/
getwphos
/
public_html
/
brueggemann
/
wp-content
/
plugins
/
wanderland-core
/
shortcodes
/
button
/
File Content:
functions.php
<?php if ( ! function_exists( 'wanderland_mikado_get_button_html' ) ) { /** * Calls button shortcode with given parameters and returns it's output * * @param $params * * @return mixed|string */ function wanderland_mikado_get_button_html( $params ) { $button_html = wanderland_mikado_execute_shortcode( 'mkdf_button', $params ); $button_html = str_replace( "\n", '', $button_html ); return $button_html; } } if ( ! function_exists( 'wanderland_core_add_button_shortcodes' ) ) { function wanderland_core_add_button_shortcodes( $shortcodes_class_name ) { $shortcodes = array( 'WanderlandCore\CPT\Shortcodes\Button\Button' ); $shortcodes_class_name = array_merge( $shortcodes_class_name, $shortcodes ); return $shortcodes_class_name; } add_filter( 'wanderland_core_filter_add_vc_shortcode', 'wanderland_core_add_button_shortcodes' ); } if ( ! function_exists( 'wanderland_core_set_button_icon_class_name_for_vc_shortcodes' ) ) { /** * Function that set custom icon class name for button shortcode to set our icon for Visual Composer shortcodes panel */ function wanderland_core_set_button_icon_class_name_for_vc_shortcodes( $shortcodes_icon_class_array ) { $shortcodes_icon_class_array[] = '.icon-wpb-button'; return $shortcodes_icon_class_array; } add_filter( 'wanderland_core_filter_add_vc_shortcodes_custom_icon_class', 'wanderland_core_set_button_icon_class_name_for_vc_shortcodes' ); }
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
assets
---
0755
templates
---
0755
button.php
11371 bytes
0644
functions.php
1452 bytes
0644
load.php
147 bytes
0644
N4ST4R_ID | Naxtarrr