Utility method to retrieve the main instance of the class.
WP_Block_Styles_Registry::is_registered
Checks if a block style is registered.
WP_Block_Styles_Registry::get_registered_styles_for_block
Retrieves registered block styles for a specific block.
WP_Block_Styles_Registry::get_all_registered
Retrieves all registered block styles.
Advertisement
WP_Block_Styles_Registry::get_registered
Retrieves an array containing the properties of a registered block style.
WP_Block_Styles_Registry::unregister
Unregisters a block style.
WP_Block_Styles_Registry::register
Registers a block style.
WP_Block_Parser::add_block_from_stack
Pushes the top block from the parsing stack to the output list.
Advertisement
WP_Block_Parser::add_inner_block
Given a block structure from memory pushes a new block to the output list.
WP_Block_Parser::add_freeform
Pushes a length of text from the input document to the output list as a freeform block.
WP_Block_Parser::freeform
Returns a new block object for freeform HTML
WP_Block_Parser::next_token
Scans the document from where we last left off and finds the next valid token to parse if it exists
Advertisement
WP_Block_Parser::proceed
Processes the next token from the input document and returns whether to proceed eating more tokens
WP_Block_Parser::parse
Parses a document and returns a list of block structures
WP_Block_Parser_Frame::__construct
Constructor