WPDev.one
Core Function
View Source on Trac ↗

wp_skip_spacing_serialization()

wp_skip_spacing_serialization( mixed $block_type )

Checks whether serialization of the current block's spacing properties should occur.

Parameters 1 required

Name / Type Description
$block_type
WP_Block_Type

Block type.

Required

Return Value

(bool)
Whether to serialize spacing support styles & classes.

Function Information

Since Version
5.9.0
Source File
wp-includes/deprecated.php
Advertisement