diff --git a/class-jobs.php b/class-jobs.php index ba94d1c..8c6676f 100755 --- a/class-jobs.php +++ b/class-jobs.php @@ -745,7 +745,12 @@ public function save_post( $post_id, WP_Post $post ) { # @TODO individual language selection when marking post as translation ready $langs = bbl_get_active_langs(); $lang_codes = wp_list_pluck( $langs, 'code' ); - $this->create_post_jobs( $post->ID, $lang_codes ); + $jobs = $this->create_post_jobs( $post->ID, $lang_codes ); + + /** + * Fires when post ready for transaltion + */ + do_action( 'bbl_post_ready_for_translation', $post_id, $post, $jobs ); } /**