Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

115
Views
Remove a script using Jquery in WordPress

How can I disable or remove this script from loading using jquery(jQuery( document ).ready( function(){})). It is can not load in mainland of China, so makes loading extremely slow, I found the id of this element.

<script type="text/javascript" src="https://apis.google.com/js/platform.js?ver=1641328563" id="eael-google-api-js"></script>

enter image description here

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Just copy and paste the following code to your functions.php and the script should be removed.


/* Remove unwanted plugin Javascript file */
function remove_eael_google_api_js() {
    wp_dequeue_script( 'eael-google-api');
    wp_deregister_script( 'eael-google-api');
}
add_action( 'wp_enqueue_scripts', 'remove_eael_google_api_js', 100); 
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!