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_render_typography_support, wp_get_computed_fluid_typography_value, wp_apply_typography_support, wp_register_typography_support, wp_get_typography_value_and_unit

Top Google Results

User discussions

wpseek mobile