[wp-trac] [WordPress Trac] #54375: Add is_post_status_viewable filter

WordPress Trac noreply at wordpress.org
Fri Nov 5 22:03:15 UTC 2021


#54375: Add is_post_status_viewable filter
----------------------------------------+---------------------
 Reporter:  peterwilsoncc               |       Owner:  (none)
     Type:  enhancement                 |      Status:  new
 Priority:  normal                      |   Milestone:  5.9
Component:  Posts, Post Types           |     Version:
 Severity:  normal                      |  Resolution:
 Keywords:  needs-patch needs-dev-note  |     Focuses:
----------------------------------------+---------------------
Changes (by audrasjb):

 * Attachment "54375.diff" added.

 Posts, Post Types: Introduce `is_post_status_viewable` hook to filter the
 result of `is_post_status_viewable()` function.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54375>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list