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

213
Views
I am working with wordpress, php, javascript and Flow-Flow Lite pluggin. How do I automate an existing javascript function

I am working Flow-Flow Lite pluggin to get facebook and instagram data. How do I automate an existing javascript function in the wordpress pluggin so that it runs every 24 hours? right now it's a manual process to clear the feed cache which needs to be done every 24-48 hours.

the path to the pluggin is:

wp-content/plugins/flow-flow-social-streams/js/admin.js

and the function near line 4118, as of the date of this post, looks like this:

 resetFeedCache: function (e) {
  var $t = $(e.target);
  var uid = $t.closest('[data-uid]').attr('data-uid');
  var changed = this.model.get('feeds_changed');
  var feeds = this.model.get('feeds');
  
  changed[ uid ] = _.clone( feeds[ uid ] );
  changed[ uid ][ 'state' ] = 'reset_cache';
  
  this.saveViaAjax();
},

I am also open to suggestions for well maintained automation plugins.

about 4 years ago · Juan Pablo Isaza
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!