Last active
July 7, 2021 09:54
-
-
Save carmoreira/3799fdc7e706e7d6d10e51a1b522c4f3 to your computer and use it in GitHub Desktop.
Fix to use Advisor Quiz and Flatsome UX Builder
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if(array_key_exists( 'page', $_GET ) && $_GET['page'] == 'uxbuilder'){ | |
remove_action('init', 'advq_metaboxes_init',89); | |
} | |
if(array_key_exists( 'uxb_iframe', $_GET )){ | |
remove_action('init', 'advq_metaboxes_init',89); | |
} | |
if(array_key_exists( 'ux_builder_action', $_POST ) && $_POST['ux_builder_action'] == 'do_shortcode'){ | |
remove_action('init', 'advq_metaboxes_init',89); | |
} | |
if( array_key_exists( 'action', $_GET ) && strpos( $_GET['action'], 'ux_builder' ) !== false ){ | |
remove_action('init', 'advq_metaboxes_init',89); | |
} | |
if( array_key_exists( 'action', $_POST ) && strpos( $_POST['action'], 'ux_builder' ) !== false ){ | |
remove_action('init', 'advq_metaboxes_init',89); | |
} | |
if(array_key_exists( 'action', $_POST ) && $_POST['action'] == 'ux_builder_save'){ | |
remove_action('init', 'advq_metaboxes_init',89); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You are the best man. Thank you somuch !