Passing argument to custom action.
-
Hello, thank for creating this plugin. it’s exactly what i need. I have a function need to be run automaticaly. this function have 1 parameter. I added add_action to it and like add_action(‘action_myfunction’, ‘myfunction’, 10, 1);
My question is: How can i pass an argument to task scheduler action? I add new task, filled my action name. and argument. But it doesn’t work. the argument i added is url of a website.
Thanks in advance
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Passing argument to custom action.’ is closed to new replies.