From d008c4e088989137844af18c08b56fe1f0a8162f Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Fri, 10 Jun 2016 00:02:34 +0000 Subject: [PATCH] Docs: Add documentation for the variadic second parameter, `$args`, accepted by `add_theme_support()`. h/t kevinwhoffman Fixes #37067. git-svn-id: https://develop.svn.wordpress.org/trunk@37672 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/theme.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/wp-includes/theme.php b/src/wp-includes/theme.php index 74c5ccda78..724406e71f 100644 --- a/src/wp-includes/theme.php +++ b/src/wp-includes/theme.php @@ -1524,9 +1524,10 @@ function get_editor_stylesheets() { * * @global array $_wp_theme_features * - * @param string $feature The feature being added. Likely core values include 'post-formats', - * 'post-thumbnails', 'html5', 'custom-logo', 'custom-header-uploads', - * 'custom-header', 'custom-background', 'title-tag', etc. + * @param string $feature The feature being added. Likely core values include 'post-formats', + * 'post-thumbnails', 'html5', 'custom-logo', 'custom-header-uploads', + * 'custom-header', 'custom-background', 'title-tag', etc. + * @param mixed $args,... Optional extra arguments to pass along with certain features. * @return void|bool False on failure, void otherwise. */ function add_theme_support( $feature ) {