wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi
wp_skip_spacing_serialization is private and should not be used in themes or plugins directly.
wp_skip_spacing_serialization › WordPress Function
Da5.9.0
Deprecato6.0.0
› wp_skip_spacing_serialization ( $block_type )
Accedi: |
|
Parametri: |
|
Vedi: | |
Ritorna: |
|
Definito a: |
|
Codex: |
Checks whether serialization of the current block's spacing properties should occur.
Sorgenti
function wp_skip_spacing_serialization( $block_type ) { _deprecated_function( __FUNCTION__, '6.0.0', 'wp_should_skip_block_supports_serialization()' ); $spacing_support = isset( $block_type->supports['spacing'] ) ? $block_type->supports['spacing'] : false; return is_array( $spacing_support ) && array_key_exists( '__experimentalSkipSerialization', $spacing_support ) && $spacing_support['__experimentalSkipSerialization']; }