New and updated in 6.9.0
-
Returns the type of the block comment delimiter.
-
Returns whether the delimiter contains the closing flag.
-
Given two spans of text, indicate if they represent identical block types.
-
Indicates if the matched delimiter is an opening or void delimiter of the given type, if a type is provided, otherwise if it opens any block or implicit freeform HTML content.
-
Indicates if the matched delimiter is an HTML span.
-
classWP_Block_Processor
Class for efficiently scanning through block structure in a document without parsing the entire block tree and JSON attributes into memory.
-
Indicates if the matched delimiter is an HTML span and comprises more than whitespace characters, i.e. contains real content.
-
Creates a new block processor.
-
Advance to the next block delimiter which opens a block, indicating if one was found.
-
Advance to the next block delimiter in a document, indicating if one was found.
-
Advance to the next block delimiter or HTML span in a document, indicating if one was found.
-
Returns an array containing the names of the currently-open blocks, in order from outermost to innermost, with HTML spans indicated as “#html”.
-
Returns the depth of the open blocks where the processor is currently matched.
-
Extracts a block object, and all inner content, starting at a matched opening block delimiter, or at a matched top-level HTML span as freeform HTML content.
-
functionwp_is_valid_utf8()
Determines if a given byte string represents a valid UTF-8 encoding.
-
functionwp_scrub_utf8()
Replaces ill-formed UTF-8 byte sequences with the Unicode Replacement Character.
-
functionwp_has_noncharacters()
Returns whether the given string contains Unicode noncharacters.
-
Retrieves a registered ability.
Used by 0 functions | Uses 4 functions | Source: wp-includes/abilities-api/class-wp-abilities-registry.php:260 -
Utility method to retrieve the main instance of the registry class.
Used by 5 functions | Uses 5 functions | Source: wp-includes/abilities-api/class-wp-abilities-registry.php:282 -
Fires when preparing abilities registry.
Used by 1 function | Uses 0 functions | Source: wp-includes/abilities-api/class-wp-abilities-registry.php:313 -
Wakeup magic method.
Used by 0 functions | Uses 0 functions | Source: wp-includes/abilities-api/class-wp-abilities-registry.php:326 -
Sleep magic method.
Used by 0 functions | Uses 0 functions | Source: wp-includes/abilities-api/class-wp-abilities-registry.php:337 -
Utility method to retrieve the main instance of the registry class.
Used by 6 functions | Uses 4 functions | Source: wp-includes/abilities-api/class-wp-ability-categories-registry.php:203 -
Fires when preparing ability categories registry.
Used by 1 function | Uses 0 functions | Source: wp-includes/abilities-api/class-wp-ability-categories-registry.php:229 -
Wakeup magic method.
Used by 0 functions | Uses 0 functions | Source: wp-includes/abilities-api/class-wp-ability-categories-registry.php:242 -
Sleep magic method.
Used by 0 functions | Uses 0 functions | Source: wp-includes/abilities-api/class-wp-ability-categories-registry.php:253 -
Manages the registration and lookup of abilities.
Used by 0 functions | Uses 0 functions | Source: wp-includes/abilities-api/class-wp-abilities-registry.php:20 -
Registers a new ability.
Used by 0 functions | Uses 6 functions | Source: wp-includes/abilities-api/class-wp-abilities-registry.php:85 -
Filters the ability arguments before they are validated and used to instantiate the ability.
Used by 1 function | Uses 0 functions | Source: wp-includes/abilities-api/class-wp-abilities-registry.php:139 -
Unregisters an ability.
Used by 0 functions | Uses 4 functions | Source: wp-includes/abilities-api/class-wp-abilities-registry.php:200