Skip to content

Commit

Permalink
#4330 broker issue fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Zabi09 committed Apr 1, 2020
1 parent da0ecfb commit a430c4f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions includes/features/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ function ampforwp_add_admin_styling($hook_suffix){
if( current_user_can("manage_options") && $hook_suffix=='toplevel_page_amp_options' ){
$redux_data = $redux_builder_amp;
wp_dequeue_script( 'insert-post-adschart-admin' );
wp_dequeue_script( 'broker-js' );
wp_dequeue_script( 'broker-min-js' );
remove_all_actions('admin_notices');
add_action('admin_notices', 'ampforwp_dev_mode_notice');
add_action('admin_notices', 'ampforwp_plugins_manager_notice');
Expand Down

0 comments on commit a430c4f

Please sign in to comment.