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

Glossary Term

block_version()

3 tags 1 category

block_version() — Returns the current version of the block format that the content string is using. If the string doesn’t contain blocks, it returns 0.

Inputs: $content (string): Content to test.

Returns int: The block format version is 1 if the content contains one or more blocks, 0 otherwise.

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…