Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

strip_core_block_namespace()

3 tags 1 category

strip_core_block_namespace() — Returns the block name to use for serialization. This will remove the default “core/” namespace from a block name.

Inputs: $block_name (string|null): Optional. Original block name. Null if the block name is unknown, e.g. Classic blocks have their name set to null. Default null.

Returns string: Block name to use for serialization.

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…