acf_remove_block_type()
Removes a block type for the given name.
No Hooks.
Returns
null. Nothing (null).
Usage
acf_remove_block_type( $name );
- $name(string) (required)
- The block type name.
Changelog
| Since 5.7.12 | Introduced. |
acf_remove_block_type() acf remove block type code ACF 6.8.8
function acf_remove_block_type( $name ) {
acf_get_store( 'block-types' )->remove( $name );
}