Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #27332, comment 2


Ignore:
Timestamp:
12/14/2014 02:51:18 AM (10 years ago)
Author:
klosi
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #27332, comment 2

    initial v1  
    22
    33{{{
     4/**
     5 * Retrieve list of WordPress theme features (aka theme tags)
     6 *
     7 * @since 3.1.0
     8 *
     9 * @param bool $api Optional. Whether try to fetch tags from the WP.org API. Defaults to true.
     10 * @return array Array of features keyed by category with translations keyed by slug.
     11 */
    412function get_theme_feature_list( $api = true ) {
    513        // Hard-coded list is used if api not accessible.
     
    816                                'black'   => __( 'Black' ),
    917                                'blue'    => __( 'Blue' ),
     18...
    1019}}}
    1120