load.php 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. <?php
  2. if ( ! defined( 'ABSPATH' ) ) {
  3. die( '-1' );
  4. }
  5. /**
  6. * WPBakery WPBakery Page Builder shortcode attributes fields loader
  7. *
  8. * @package WPBakeryPageBuilder
  9. *
  10. */
  11. require_once vc_path_dir( 'PARAMS_DIR', '/default_params.php' );
  12. /**
  13. * Loads attributes hooks.
  14. */
  15. require_once vc_path_dir( 'PARAMS_DIR', '/textarea_html/textarea_html.php' );
  16. require_once vc_path_dir( 'PARAMS_DIR', '/colorpicker/colorpicker.php' );
  17. require_once vc_path_dir( 'PARAMS_DIR', '/loop/loop.php' );
  18. require_once vc_path_dir( 'PARAMS_DIR', '/vc_link/vc_link.php' );
  19. require_once vc_path_dir( 'PARAMS_DIR', '/options/options.php' );
  20. require_once vc_path_dir( 'PARAMS_DIR', '/sorted_list/sorted_list.php' );
  21. require_once vc_path_dir( 'PARAMS_DIR', '/css_editor/css_editor.php' );
  22. require_once vc_path_dir( 'PARAMS_DIR', '/tab_id/tab_id.php' );
  23. require_once vc_path_dir( 'PARAMS_DIR', '/href/href.php' );
  24. require_once vc_path_dir( 'PARAMS_DIR', '/font_container/font_container.php' );
  25. require_once vc_path_dir( 'PARAMS_DIR', '/google_fonts/google_fonts.php' );
  26. require_once vc_path_dir( 'PARAMS_DIR', '/column_offset/column_offset.php' );
  27. require_once vc_path_dir( 'PARAMS_DIR', '/autocomplete/autocomplete.php' );
  28. require_once vc_path_dir( 'PARAMS_DIR', '/params_preset/params_preset.php' );
  29. require_once vc_path_dir( 'PARAMS_DIR', '/param_group/param_group.php' );
  30. require_once vc_path_dir( 'PARAMS_DIR', '/custom_markup/custom_markup.php' );
  31. require_once vc_path_dir( 'PARAMS_DIR', '/animation_style/animation_style.php' );
  32. require_once vc_path_dir( 'PARAMS_DIR', '/iconpicker/iconpicker.php' );
  33. require_once vc_path_dir( 'PARAMS_DIR', '/el_id/el_id.php' );
  34. require_once vc_path_dir( 'PARAMS_DIR', '/gutenberg/gutenberg.php' );
  35. global $vc_params_list;
  36. $vc_params_list = array(
  37. // Default
  38. 'textfield',
  39. 'dropdown',
  40. 'textarea_html',
  41. 'checkbox',
  42. 'posttypes',
  43. 'taxonomies',
  44. 'taxomonies',
  45. 'exploded_textarea',
  46. 'exploded_textarea_safe',
  47. 'textarea_raw_html',
  48. 'textarea_safe',
  49. 'textarea',
  50. 'attach_images',
  51. 'attach_image',
  52. 'widgetised_sidebars',
  53. // Advanced
  54. 'colorpicker',
  55. 'loop',
  56. 'vc_link',
  57. 'options',
  58. 'sorted_list',
  59. 'css_editor',
  60. 'font_container',
  61. 'google_fonts',
  62. 'autocomplete',
  63. 'tab_id',
  64. 'href',
  65. 'params_preset',
  66. 'param_group',
  67. 'custom_markup',
  68. 'animation_style',
  69. 'iconpicker',
  70. 'el_id',
  71. 'gutenberg',
  72. );