[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

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

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

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

Defines 2 functions

  render_block_core_post_excerpt()
  register_block_core_post_excerpt()

Functions
Functions that are not part of a class:

render_block_core_post_excerpt( $attributes, $content, $block )   X-Ref
Renders the `core/post-excerpt` block on the server.

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

register_block_core_post_excerpt()   X-Ref
Registers the `core/post-excerpt` block on the server.




Generated: Tue Apr 16 01:00:02 2024 Cross-referenced by PHPXref 0.7.1