A WordPress-centric search engine for devs and theme authors



wp-includes/blocks/latest-posts.php ›

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


Function Short description
block_core_latest_posts_get_excerpt_lengthCallback for the excerpt_length filter used by the Latest Posts block at render time.
block_core_latest_posts_migrate_categoriesHandles outdated versions of the `core/latest-posts` block by converting attribute `categories` from a numeric string to an array with key `id`.
register_block_core_latest_postsRegisters the `core/latest-posts` block on server.
render_block_core_latest_postsRenders the `core/latest-posts` block on server.