build_comment_query_vars_from_block
build_comment_query_vars_from_block ( $block )
Parameters:- (WP_Block) block Block instance.
Returns:- (array) Returns the comment query parameters to use with the WP_Comment_Query constructor.
Defined at: - Introduced in WordPress: 6.0.0
- Deprecated in WordPress: —
Description
Helper function that constructs a comment query vars array from the passed
block properties.It's used with the Comment Query Loop inner blocks.