[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)





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

Block level presets support.

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

Defines 3 functions


Functions that are not part of a class:

_wp_get_presets_class_name( $block )   X-Ref
Get the class name used on block level presets.

param: array $block Block object.
return: string      The unique class name.

_wp_add_block_level_presets_class( $block_content, $block )   X-Ref
Update the block content with block level presets class name.

param: string $block_content Rendered block content.
param: array  $block         Block object.
return: string                Filtered block content.

_wp_add_block_level_preset_styles( $pre_render, $block )   X-Ref
Render the block level presets stylesheet.

param: string|null $pre_render   The pre-rendered content. Default null.
param: array       $block The block being rendered.
return: null

Generated : Sun Jun 4 08:20:02 2023 Cross-referenced by PHPXref