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
| Version | Description |
|---|---|
| 6.9.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.