Remove the Advanced Ads widget from the WordPress dashboard

We provide the code snippets and content on this page without any guarantee or support. In most cases, these pages are created on requests or based on individual solutions sent to us by other users. After it was published, we are only reviewing the code and content when we are made aware of an issue. Please let us know if you find one.

Please only use the codes if you understand them and know how to add custom code to your WordPress site.

remove_AA_widget

With the following code in the functions.php file of your theme, you can remove the Advanced Ads widget from the general WordPress dashboard.

function remove_AA_widget() {
remove_meta_box('advads_dashboard_widget', 'dashboard', 'normal');
remove_meta_box('advads_dashboard_widget', 'dashboard', 'side');
remove_meta_box('advads_dashboard_widget', 'dashboard', 'advanced');
}
add_action('wp_dashboard_setup', 'remove_AA_widget');Code language: JavaScript (javascript)

Make it better

Increase your ad management skills without spending more time.
Join over 150,000 publishers and AdOpts increasing their ad revenue.