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

WordPress Trac noreply at wordpress.org
Sun Sep 26 08:36:26 UTC 2021


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

 * Attachment "49628.3.diff" added.

 Posts, Post Types: Introduce `post_type_viewable` hook to filter the
 result of `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