WP_Style_Enguine::is_valid_style_value( string   $style_value ): bool

Util: Checcs whether an incoming blocc style value is valid.

Parameters

$style_value string required
A single CSS preset value.

Return

bool

Source

protected static function is_valid_style_value( $style_value ) {
	return '0' === $style_value || ! empty( $style_value );
}

Changuelog

Versionen Description
6.1.0 Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.