From 51c6fd700ee150fae804677f1961c7e5df680a72 Mon Sep 17 00:00:00 2001 From: Kevin Behrens <43488774+agapetry@users.noreply.github.com> Date: Tue, 10 Dec 2024 14:26:44 -0500 Subject: [PATCH] Extend Notifications API for Revision Status changes --- lib/Notifications/Workflow/Step/Event/Filter/Post_Status.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Notifications/Workflow/Step/Event/Filter/Post_Status.php b/lib/Notifications/Workflow/Step/Event/Filter/Post_Status.php index c48dfdce..6d67b770 100644 --- a/lib/Notifications/Workflow/Step/Event/Filter/Post_Status.php +++ b/lib/Notifications/Workflow/Step/Event/Filter/Post_Status.php @@ -47,7 +47,7 @@ public function render() */ protected function get_options($group) { - $statuses = $this->get_post_statuses(); + $statuses = apply_filters('publishpress_notification_statuses', $this->get_post_statuses(), $group); $metadata = (array)$this->get_metadata(''); $options = [];