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.
Ensure there are an even number of paired characters.
This is used to check that the number of a specific character is even.
For instance, there should be an even number of double quotes in the CSS.
(string) (Required) A character.
(string) (Required) The CSS input string.
(bool) Equality.
File: wp-includes/customize/class-wp-customize-custom-css-setting.php
Version | Description |
---|---|
4.7.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_customize_custom_css_setting/validate_equal_characters