Why was this thread closed?
I posted a less than ideal solution to an issue that is caused by Gravity Forms. Is there going to be an official response/solution?
Why was this thread closed?
I posted a less than ideal solution to an issue that is caused by Gravity Forms. Is there going to be an official response/solution?
GravityForms slowing down my backend very much.
add_action(‘init’, function() {
if ( is_admin() ) {
remove_action( ‘init’, array( ‘GFForms’, ‘init_buffer’ ) );
}
}, 9);
This code fixed he speed problem but the formbuilder is not working anymore.
For anyone having an issue with performance in the back end, please open a support ticket:
https://www.gravityforms.com/open-support-ticket/technical/
Thank you.
I have already opened a ticket about this. The response time is very slow though, hence why I came in here asking for help.
This is what I’m using. I have no clue if it is the best way to go about things or if it’ll break anything else, but it seems to be working for me. YMMV.
add_action('init', function() {
if ( is_admin() ) {
global $pagenow;
if ( $pagenow == 'admin.php' && isset($_GET['page']) && $_GET['page'] == 'gf_edit_forms' ) {
// Do nothing, this is the edit form page
} else {
remove_action( 'init', array( 'GFForms', 'init_buffer' ) );
}
}
}, 9);
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.