[ Index ]

PHP Cross Reference of WordPress




/wp-includes/blocks/ -> latest-posts.php (summary)

Server-side rendering of the `core/latest-posts` block.

File Size: 221 lines (6 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_latest_posts( $attributes )   X-Ref
Renders the `core/latest-posts` block on server.

param: array $attributes The block attributes.
return: string Returns the post content with latest posts added.

register_block_core_latest_posts()   X-Ref
Registers the `core/latest-posts` block on server.

Generated: Thu Feb 27 01:00:03 2020 Cross-referenced by PHPXref 0.7.1