HEX
Server: Apache
System: Linux webd001.cluster127.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: mciraet (192513)
PHP: 8.2.31
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/mciraet/www/wp-content/plugins/js_composer/include/autoload/hooks/hook-vc-progress-bar.php
<?php
/**
 * Autoload hooks for [vc_progress_bar] shortcode of 'Progress Bar' element.
 *
 * @note we require our autoload files everytime and everywhere after plugin load.
 */

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', [
		'WPBakeryShortCode_Vc_Progress_Bar',
		'convertAttributesToNewProgressBar',
	] );
}