[wp-trac] [WordPress Trac] #37629: is_sticky filter hook

WordPress Trac noreply at wordpress.org
Wed Aug 10 19:04:30 UTC 2016


#37629: is_sticky filter hook
-------------------------------+-----------------------------
 Reporter:  greenshady         |      Owner:
     Type:  enhancement        |     Status:  new
 Priority:  normal             |  Milestone:  Awaiting Review
Component:  Posts, Post Types  |    Version:  trunk
 Severity:  normal             |   Keywords:
  Focuses:                     |
-------------------------------+-----------------------------
 The `is_sticky()` function needs an accompanying filter hook.

 This way, plugins that have custom post types with a custom sticky post
 implementation can simply filter this when necessary.  This way, we don't
 have to roll a custom `pluginslug_is_sticky()` function every time.

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


More information about the wp-trac mailing list