Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #971689

    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

    #972566

    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

    #972609

    Hi Ismael,
    Thank you for help, perfectly solves this problem.

    Best regards,
    xuzj

    #972872

    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

    #973112

    Hi Rikard,
    Thank you for help again. you can close this topic.

    Best regards,
    xuzj

    #973470

    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

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘deactivate google map in back-end’ is closed to new replies.