[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/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

  render_block_core_post_terms()
  block_core_post_terms_build_variations()
  register_block_core_post_terms()

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.

return: string Returns the filtered post terms for the current post wrapped inside "a" tags.
param: array    $attributes Block attributes.
param: string   $content    Block default content.
param: WP_Block $block      Block instance.

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 : Fri Apr 26 08:20:02 2024 Cross-referenced by PHPXref