[wp-trac] [WordPress Trac] #34036: Document $args parameter for themes_api()

WordPress Trac noreply at wordpress.org
Sun Sep 27 21:51:20 UTC 2015


#34036: Document $args parameter for themes_api()
--------------------------+---------------------------
 Reporter:  ocean90       |       Owner:  DrewAPicture
     Type:  defect (bug)  |      Status:  reviewing
 Priority:  normal        |   Milestone:  4.4
Component:  Themes        |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  docs
--------------------------+---------------------------

Comment (by DrewAPicture):

 In [changeset:"34640"]:
 {{{
 #!CommitTicketReference repository="" revision="34640"
 Docs: Vastly improve documentation for `themes_api()`.

 Adds:
 * A hash notation with descriptions for all accepted arguments
 * A matrix-like data table demonstrating which arguments are available for
 the different `$action` types
 * A better summary and description with linked hooks
 * An improved return description with a link to external information

 Props ocean90.
 See #34036.
 }}}

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


More information about the wp-trac mailing list