For the complete documentation index, see llms.txt. This page is also available as Markdown.

get_acpt_block_object

Get a dynamic block object representation

Get a dynamic block object representation by name.

Usage

$block = get_acpt_block_object('my_block');

if ($block) {
    echo $block->name;
}

Parameters

Parameter
Type
Required
Description

blockName

string

Required

The block slug

Return

Type
Description

\stdClass

The block object, including name, title, icon, and keywords

false

If no block with the given name exists

Last updated