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:

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.

Related Functions

wp_apply_typography_support, wp_register_typography_support, wp_privacy_delete_old_export_files, wp_update_urls_to_https, _wp_relative_upload_path

Top Google Results

User discussions

wpseek mobile