[wp-trac] [WordPress Trac] #54376: Add `is_post_publicly_viewable` filter

WordPress Trac noreply at wordpress.org
Thu Nov 4 22:33:23 UTC 2021


#54376: Add `is_post_publicly_viewable` filter
-------------------------------+-----------------------------
 Reporter:  peterwilsoncc      |      Owner:  (none)
     Type:  enhancement        |     Status:  new
 Priority:  normal             |  Milestone:  Awaiting Review
Component:  Posts, Post Types  |    Version:
 Severity:  normal             |   Keywords:  needs-patch
  Focuses:                     |
-------------------------------+-----------------------------
 Related to #49628, #54375.

 Add a filter to the is_post_publicly_viewable() function to allow theme
 and plugin developers to override the default value.

 In some circumstances a developer may require the checks use different
 conditions to the default.

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


More information about the wp-trac mailing list