[ Index ]

PHP Cross Reference of WordPress

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.

return: boolean Whether to serialize block support styles & classes.
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.
since: 6.0.0



Generated: Sat Nov 23 01:00:02 2024 Cross-referenced by PHPXref 0.7.1