Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Request: Hook at the end of complete() function?

$
0
0

Replies: 0

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 all articles
Browse latest Browse all 59525

Trending Articles