Make WordPress Core

Ticket #38949: 38949.1.diff

File 38949.1.diff, 733 bytes (added by celloexpressions, 7 years ago)

Fix filter docs

  • src/wp-content/themes/twentyseventeen/inc/color-patterns.php

     
    557557        }
    558558}';
    559559
    560         return $css;
     560
     561        /**
     562         * Filters Twenty Seventeen custom colors CSS.
     563         *
     564         * @since Twenty Seventeen 1.0
     565         *
     566         * @param $css        string Base theme colors CSS.
     567         * @param $hue        int    The user's selected color hue.
     568         * @param $saturation string Filtered theme color saturation level.
     569         */
     570        return apply_filters( 'twentyseventeen_custom_colors_css', $css, $hue, $saturation );
    561571}