[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

title

Body

[close]

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

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

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

Defines 2 functions

  render_block_core_latest_posts()
  register_block_core_latest_posts()

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.

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

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




Generated: Mon Sep 23 08:20:02 2019 Cross-referenced by PHPXref 0.7