Advertisement
fauzanjeg

MAGNITUDE || FIX MetForm Conflict with Bootstrap in Elementor Editor

Jun 14th, 2023 (edited)
222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.34 KB | None | 0 0
  1. /** FIX MetForm Conflict with Bootstrap in Elementor Editor */
  2. function fix_metform_conflict_with_bootstrap_in_elementor_editor() {
  3.     remove_action( 'elementor/editor/after_enqueue_scripts', array( \Jeg\Form\Form_Builder::get_instance(), 'form_control_script' ) );
  4. }
  5. add_action( 'init', 'fix_metform_conflict_with_bootstrap_in_elementor_editor' );
  6.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement