wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



wp_register_duotone_support › WordPress Function

Depuis5.8.0
Dépréciée6.3.0
wp_register_duotone_support ( $block_type )
Accès:
  • private
Paramètres:
  • (WP_Block_Type) $block_type Block Type.
    Requis: Oui
Défini(e) dans:
Codex:

Registers the style and colors block attributes for block types that support it.



Source

function wp_register_duotone_support( $block_type ) {
	_deprecated_function( __FUNCTION__, '6.3.0', 'WP_Duotone::register_duotone_support()' );
	return WP_Duotone::register_duotone_support( $block_type );
}