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 🙂
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.