Run Import from Function, Rather Than User Input
-
Is there a way to trigger an import from an external calendar to run within functions.php rather than as a scheduled task or with user input? Looking for a way to trigger an import that allows me to run it in a chain of other functions, with a confirmation response from the plugin that it ran successfully. Closest I’ve got so far is using wp_remote_get() but that does not provide a success code as the success is shown via an on page alert.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.