[wp-trac] [WordPress Trac] #37002: Documentation: update wp_get_post_categories @return description

WordPress Trac noreply at wordpress.org
Thu Jun 2 14:45:30 UTC 2016


#37002: Documentation: update wp_get_post_categories @return description
-------------------------------+------------------------------
 Reporter:  jeherve            |       Owner:
     Type:  enhancement        |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Posts, Post Types  |     Version:  4.0
 Severity:  normal             |  Resolution:
 Keywords:  has-patch          |     Focuses:  docs
-------------------------------+------------------------------

Comment (by jeherve):

 That makes sense, I didn't think of that. Should that be mentioned in the
 @return value somehow? Something along the lines of

 {{{#!php
 @return array List of categories. Default to category IDs, can return
 additional data when specifying category arguments.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37002#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list