[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

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

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

File Size: 131 lines (3 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.

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: Tue Sep 17 01:00:03 2019 Cross-referenced by PHPXref 0.7.1