Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness. Use self::validate() instead.
WP_Customize_Custom_CSS_Setting::validate_count_unclosed_comments( string $css )
Count unclosed CSS Comments.
Description Description
Used during validation.
See also See also
Parameters Parameters
- $css
-
(string) (Required) The CSS input string.
Return Return
(int) Count.
Source Source
File: wp-includes/customize/class-wp-customize-custom-css-setting.php
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
4.7.0 | Introduced. |