• Resolved supergrindel

    (@supergrindel)


    TaskScheduler 1.3.3

    I’m struggling with the directions for creating a custom action module. Specifically, step two on the other notes page says: “To register your action module, just instantiate the class you defined.” Then there is some example code.

    Where does that code go? In the file with the class definitions? In a separate plugin of its own? In a separate file on the server?

    I’m new to WordPress programming. So I apologize for the shallow question.

    Thank you!

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

    (@miunosoft)

    Hi,

    You can insert the code of your module in:

    1. your functions.php of your theme.
    2. you plugin.

    Probably it is easier for you to modify existent code. Download an example module plugin from this page. Install and activate it on your test site. And modify it, especially the doAction() method.

    Thread Starter supergrindel

    (@supergrindel)

    Thank you! I was able to get the sample code working by making my own plugin. Now I know how to add my own custom modules to Task Scheduler pull down list. This is awesome!

    Plugin Author miunosoft

    (@miunosoft)

    Glad to hear you managed it!

    Would be appreciated if you could take a few minutes to write a review on the plugin. Thanks!.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Creating custom action module’ is closed to new replies.