Support

Account

Home Forums ACF PRO Google Maps back-end location search functionality not working Reply To: Google Maps back-end location search functionality not working

  • Hi @tanmccuin

    I think you found it! Maybe you can dequeue the scripts like the following?

    function my_dequeue($hook) {
        if ( 'edit.php' != $hook ) {
            return;
        }
    
        wp_dequeue_script( 'mr-geocomplete' );
        wp_dequeue_script( 'mr-google-maps' );
    }
    add_action( 'admin_enqueue_scripts', 'my_dequeue' );

    Please check the enqueued scripts here: https://github.com/mrfoto/mr-meta-box/blob/master/mr-meta-box.php#L54.

    Thanks ๐Ÿ™‚