Hi,
How to deactivate google map in back-end ? It makes back-end access slows down.
Previously added:”add_filter( ‘avf_load_google_map_api’, ‘__return_false’ );”, but update to 4.4.1, It doesn’t work.
Best regards,
xuzj
Hey xuzj,
Thank you for using Enfold.
Use the following filter in place of the previous one.
add_filter('avf_load_google_map_api_prohibited', function() {
if( is_admin() ) {
return true;
}
});
That should disable the google map script inside the dashboard.
Best regards,
Ismael
Hi Ismael,
Thank you for help, perfectly solves this problem.
Best regards,
xuzj
Hi,
Great, glad we could help. Please let us know if you should need any further help on the topic or if we can close it.
Best regards,
Rikard
Hi Rikard,
Thank you for help again. you can close this topic.
Best regards,
xuzj
Hi,
Glad we could help!
Please take a moment to review our theme and show your support https://themeforest.net/downloads
Don’t forget to bookmark Enfold Documentation for future reference.
Thank you for using Enfold :)
Best regards,
Basilis