Make WordPress Core

Changeset 37672


Ignore:
Timestamp:
06/10/2016 12:02:34 AM (9 years ago)
Author:
DrewAPicture
Message:

Docs: Add documentation for the variadic second parameter, $args, accepted by add_theme_support().

h/t kevinwhoffman
Fixes #37067.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/theme.php

    r37671 r37672  
    15251525 * @global array $_wp_theme_features
    15261526 *
    1527  * @param string $feature The feature being added. Likely core values include 'post-formats',
    1528  *                        'post-thumbnails', 'html5', 'custom-logo', 'custom-header-uploads',
    1529  *                        'custom-header', 'custom-background', 'title-tag', etc.
     1527 * @param string $feature  The feature being added. Likely core values include 'post-formats',
     1528 *                         'post-thumbnails', 'html5', 'custom-logo', 'custom-header-uploads',
     1529 *                         'custom-header', 'custom-background', 'title-tag', etc.
     1530 * @param mixed  $args,... Optional extra arguments to pass along with certain features.
    15301531 * @return void|bool False on failure, void otherwise.
    15311532 */
Note: See TracChangeset for help on using the changeset viewer.