apply_filters( ‘enqueue_empty_block_content_assets’, bool $enqueue, string $block_name )

In this article

Filters whether to enqueue assets for a block which has no rendered content.

Parameters

$enqueuebool
Whether to enqueue assets.
$block_namestring
Block name.

Source

! (bool) apply_filters( 'enqueue_empty_block_content_assets', false, $this->name )

Changelog

VersionDescription
6.9.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.