Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

210
Vistas
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
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda