corvée(dépendances) ajoute Carbon Fields

This commit is contained in:
gcch 2024-08-09 18:45:01 +02:00
commit 62368587e5
459 changed files with 72750 additions and 26 deletions

View file

@ -0,0 +1,11 @@
/**
* External dependencies.
*/
import { addFilter } from '@wordpress/hooks';
/**
* The internal dependencies.
*/
import NotSupportedField from '../../components/not-supported-field';
addFilter( 'carbon-fields.header_scripts.block', 'carbon-fields/blocks', () => ( props ) => <NotSupportedField type={ props.field.type } /> );