Disable the Gravity Forms Widget in WordPress Dashboard

If you have too many gravity forms and too much data in form entries, you might face a 5-6 sec slowdown.

Adding the following snippet to your code snippet or function file to remove the dashboard widget will resolve the slowdown.

function ad_remove_dashboard_widgets() {

	remove_meta_box('rg_forms_dashboard','dashboard','normal');
}
add_action('wp_dashboard_setup', 'ad_remove_dashboard_widgets' );

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *


This site uses Akismet to reduce spam. Learn how your comment data is processed.