wp_migrate_old_typography_shape
wp_migrate_old_typography_shape ( $metadata )
Parameters:- (array) metadata Metadata for registering a block type.
Returns:- (array) Filtered metadata for registering a block type.
Defined at: - Introduced in WordPress: 5.8.0
- Deprecated in WordPress: —
Description
Converts typography keys declared under `supports.*` to `supports.typography.*`.Displays a `_doing_it_wrong()` notice when a block using the older format is detected.