450 results found for “block”. Showing results 1 to 25.
-
classWP_Block
Class representing a parsed instance of a block.
-
functiondo_blocks()
Parses dynamic blocks out of `post_content` and re-renders them.
-
functionhas_block()
Determines whether a $post or a string contains a specific block type.
-
functionhas_blocks()
Determines whether a post or content string has blocks.
-
hookhooked_block
Filters the parsed block array for a given hooked block.
-
functionparse_blocks()
Parses blocks out of a content string.
-
functionrender_block()
Renders a single block into a HTML string.
-
hookrender_block
Filters the content of a single block.
-
functionblock_version()
Returns the current version of the block format that the content string is using.
-
classWP_Block_List
Class representing a list of block instances.
-
classWP_Block_Type
Core class representing a block type.
-
functionserialize_block()
Returns the content of a block, including comment delimiters, serializing all attributes from the given parsed block.
-
methodWP_Block::__get()
Returns a value from an inaccessible property.
-
function_flatten_blocks()
Returns an array containing the references of the passed blocks and their inner blocks.
-
hookblock_categories
Filters the default array of categories for block types.
-
hookpre_render_block
Allows render_block() to be short-circuited, by returning a non-null value.
-
functionserialize_blocks()
Returns a joined string of the aggregate serialization of the given parsed blocks.
-
methodWP_Block::render()
Generates the render output for the block.
-
functionblock_footer_area()
Prints the footer block template part.
-
functionblock_has_support()
Checks whether the current block type supports the feature requested.
-
functionblock_header_area()
Prints the header block template part.
-
functionfilter_block_kses()
Filters and sanitizes a parsed block to remove non-allowable HTML from block attribute values.
-
functionget_hooked_blocks()
Retrieves block types hooked into the given block, grouped by anchor block type and the relative position.
-
methodPO::comment_block()
Prepare a text as a comment — wraps the lines and prepends # and a special character to each line