[ Index ]

PHP Cross Reference of WordPress




/wp-includes/blocks/ -> post-featured-image.php (summary)

Server-side rendering of the `core/post-featured-image` block.

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

Defines 2 functions


Functions that are not part of a class:

render_block_core_post_featured_image( $attributes, $content, $block )   X-Ref
Renders the `core/post-featured-image` block on the server.

param: array    $attributes Block attributes.
param: string   $content    Block default content.
param: WP_Block $block      Block instance.
return: string Returns the featured image for the current post.

register_block_core_post_featured_image()   X-Ref
Registers the `core/post-featured-image` block on the server.

Generated: Mon Aug 15 01:00:02 2022 Cross-referenced by PHPXref 0.7.1