• Hi,

    I’ve wanted to ask if it would be possible to add a hook at the end of the complete function in “class-ss-archive-creation-job.php” for feature releases.

    In my custom build I’ve added a shell_exec right atop of parent:complete() to automatically trigger git when the static pages were successfully generated. It works like a charm, but unfortunately, as no hook exists yet, only with dirty hacks in the plugin itself, which is not that satisfying.

    I guess more devs could possibly benefit from this.

    Best regards,
    Isabella

Viewing 1 replies (of 1 total)
  • Hi, I saw a task list filter so you can implement a simple task which does the job or just fires a do_action and attach to the end of the task list. Earlier I modified the plugin’s code to have a started action but in the last days I have realized the neat solution.

Viewing 1 replies (of 1 total)
  • The topic ‘Request: Hook at the end of complete() function?’ is closed to new replies.