• Resolved bleffoman

    (@bleffoman)


    Hi all.
    I’ve a big doubt regarding WHERE (in which file)to insert a custom action I’m calling once at day.

    I have woocommerce 2.5.3 installed and I use this action to call a webservice once a day that update my products features.

    Actually this action is written in wc-core-functions.php in the Woocommerce\incldudes folder. This is a standard file. Should I create a custom file for my actions?
    is it correct to put in a plugin folder or should I insert in a theme location?

    Also, after the last updates of your plugin, the Routine is not starting it keeps being in the “awating status”.

    Please help me.

    Fabio.

    https://wordpress.org/plugins/task-scheduler/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author miunosoft

    (@miunosoft)

    Hi,

    As I do not know how much you are familiar with this plugin and whether you have already successfully set up your custom action, I may not be able to exactly answer your question.

    If you have not been able to set up your custom action yet, try creating an action module. The instruction is here.

    If you have already tried it and having a problem, maybe you can post your code on Gist or somewhere so that I can take a look.

    As for the problem with WordPress 4.6, please update Task Scheduler to 1.3.2.

    Plugin Author miunosoft

    (@miunosoft)

    Closing the topic due to inactivity.

    There is a related topic which has been resolved.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Suggestion: where to add custom actions?’ is closed to new replies.