1
2
3
4
5
6
7
8
9
10
11
12
13
|
<?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); }
if ( 'vc_edit_form' === vc_post_param( 'action' ) ) { VcShortcodeAutoloader::getInstance()->includeClass( 'WPBakeryShortCode_Vc_Progress_Bar' );
add_filter( 'vc_edit_form_fields_attributes_vc_progress_bar', array( 'WPBakeryShortCode_Vc_Progress_Bar', 'convertAttributesToNewProgressBar', ) ); }
|