acf_remove_block_type()
Removes a block type for the given name.
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
acf_remove_block_type( $name );
- $name(строка) (обязательный)
- The block type name.
Список изменений
С версии 5.7.12 | Введена. |
Код acf_remove_block_type() acf remove block type ACF 6.0.4
function acf_remove_block_type( $name ) { acf_get_store( 'block-types' )->remove( $name ); }