Util: Checks whether an incoming block style value is valid.
Parameters
$style_value
stringrequired- A single CSS preset value.
Source
protected static function is_valid_style_value( $style_value ) {
return '0' === $style_value || ! empty( $style_value );
}
Changelog
Version | Description |
---|---|
6.1.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.