wp-includes/block-supports/utils.php:23Checks whether serialization of the current block's supported properties should occur.
$block_typeWP_Block_Type$feature_setstring$featurestringoptionalnullboolfunction wp_should_skip_block_supports_serialization( $block_type, $feature_set, $feature = null ) { if ( ! is_object( $block_type ) || ! $feature_set ) { return false; } $path = array( $feature_set, '__experimentalSkipSerialization' ); $skip_serialization = _wp_array_get( $block_type->supports, $path, false ); if ( is_array( $skip_serialization ) ) { return in_array( $feature, $skip_serialization, true ); } return $skip_serialization;}Introduced in 6.0.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-includes/block-supports/utils.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.