[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/block-supports/ -> utils.php (summary)

Block support utility functions.

File Size: 36 lines (1 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 function

  wp_should_skip_block_supports_serialization()

Functions
Functions that are not part of a class:

wp_should_skip_block_supports_serialization( $block_type, $feature_set, $feature = null )   X-Ref
Checks whether serialization of the current block's supported properties
should occur.

param: WP_Block_Type $block_type  Block type.
param: string        $feature_set Name of block support feature set..
param: string        $feature     Optional name of individual feature to check.
return: bool Whether to serialize block support styles & classes.



Generated : Thu Nov 21 08:20:01 2024 Cross-referenced by PHPXref