[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)





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

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

File Size: 123 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:

render_block_core_post_terms( $attributes, $content, $block )   X-Ref
Renders the `core/post-terms` 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 filtered post terms for the current post wrapped inside "a" tags.

block_core_post_terms_build_variations()   X-Ref
Returns the available variations for the `core/post-terms` block.

return: array The available variations for the block.

register_block_core_post_terms()   X-Ref
Registers the `core/post-terms` block on the server.

Generated : Sat Apr 13 08:20:01 2024 Cross-referenced by PHPXref