Core Function
View Source on Trac ↗ block_core_latest_posts_migrate_categories()
block_core_latest_posts_migrate_categories( mixed $block ) Handles outdated versions of the `core/latest-posts` block by converting
Parameters 1 required
| Name / Type | Description |
|---|---|
| $block array | A single parsed block object. Required |
Return Value
(array)
The migrated block object.
Function Information
Since Version
5.5.0
Source File
wp-includes/blocks/latest-posts.php
Advertisement