wp_should_skip_block_supports_serialization
- %1$s is private and should not be used in themes or plugins directly.
wp_should_skip_block_supports_serialization ( $block_type, $feature_set, $feature = null )
Access:Parameters:- (WP_Block_Type) block_type Block type.
- (string) feature_set Name of block support feature set..
- (string) feature Optional name of individual feature to check.
Returns:- (bool) Whether to serialize block support styles & classes.
Defined at: - Introduced in WordPress: 6.0.0
- Deprecated in WordPress: —
Description
Checks whether serialization of the current block's supported properties
should occur.