Skip to content

Commit

Permalink
Calendar: Add post status filters which may be needed later
Browse files Browse the repository at this point in the history
  • Loading branch information
agapetry committed Jan 15, 2025
1 parent 543e5f1 commit 5c8adfb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common/php/class-module.php
Original file line number Diff line number Diff line change
Expand Up @@ -895,7 +895,7 @@ public function getUserAuthorizedPostStatusOptions($postType)

$pp_post_type_status_options[$postType] = $postStatuses;

return $postStatuses;
return apply_filters('publishpress_user_post_status_options', $postStatuses);
}

public function getPostStatusOptions()
Expand All @@ -918,7 +918,7 @@ public function getPostStatusOptions()
];
}

return $postStatuses;
return apply_filters('publishpress_post_status_options', $postStatuses);
}

/**
Expand Down

0 comments on commit 5c8adfb

Please sign in to comment.