WPDev.one
Core Function
View Source on Trac ↗

wp_skip_dimensions_serialization()

wp_skip_dimensions_serialization( mixed $block_type )

Checks whether serialization of the current block's dimensions 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