render_block_core_categories
render_block_core_categories ( $attributes, $content, $block )
Parameters:- (array) attributes The block attributes.
- (string) content Block default content.
- (WP_Block) block Block instance.
Returns:- (string) Returns the categories list/dropdown markup.
Defined at:Change Log: - Introduced in WordPress: 5.0.0
- Deprecated in WordPress: —
Description
Renders the `core/categories` block on server.