[wp-trac] [WordPress Trac] #49628: Add is_post_type_viewable filter

WordPress Trac noreply at wordpress.org
Fri Nov 5 21:51:44 UTC 2021


#49628: Add is_post_type_viewable filter
-------------------------------------------------+-------------------------
 Reporter:  powerbuoy                            |       Owner:
                                                 |  SergeyBiryukov
     Type:  feature request                      |      Status:  reviewing
 Priority:  normal                               |   Milestone:  5.9
Component:  Posts, Post Types                    |     Version:  5.3.2
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-dev-note needs-      |     Focuses:
  refresh                                        |  administration
-------------------------------------------------+-------------------------
Changes (by audrasjb):

 * Attachment "49628.5.2.diff" added.

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

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


More information about the wp-trac mailing list