Indicates if the matched delimiter is an HTML span and comprises more than whitespace characters, i.e. contains real content.
Description
Many block serializers introduce newlines between block delimiters, so the presence of top-level non-block content does not imply that there are “real” freeform HTML blocks. Checking if there is content beyond whitespace is a more certain check, such as for determining whether to load CSS for the freeform or fallback block type.
Return
bool
Whether the currently-matched delimiter is an HTML span containing non-whitespace text.
Signature, return type and hooks compared across 3 parsed releases.
About this page
Parsed data
Generated from the wordpress-develop 7.1.0 tag, from src/wp-includes/class-wp-block-processor.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.