My own answer is: somewhat yes, but not so easily. We can use 2 functions:
https://developer.wordpress.org/reference/functions/parse_blocks/
https://developer.wordpress.org/reference/functions/render_block/
Not very well documented yet. But you can pass raw content to parse_blocks to have them back in array form.
The thing is that they don’t have some sort of ID. So this approach is not always usefult, depending on what you want to do with them.
Related Posts:
- WP Query by Gutenberg block and get its attribute
- Using pre_get_posts on a specific core/query block
- How to query for custom field within Gutenberg block from outside of that post? [closed]
- While creating Block Themes in WordPress, how can I query custom posts for an Archive view?
- Creating query to show which editor (classic or block) was last used to edit a post/page
- WP_Query orderby date not working
- Best way to detect if you are in a SINGLE POST page
- How to do a wp_query using “BETWEEN” with two meta_values?
- Better way to get tag stats?
- Query two taxonomies via URL or link?
- wp_query order by title
- Sort posts by custom taxonomy name
- Wp_query order by multiple custom fields?
- Would this post meta be better added to the post table rather than post_meta table
- meta_query on a date range using an array of values
- How to exclude products by tag from woocommerce shop page?
- Filtering posts by custom field value not working
- wpdb get results doesn’t work with variable
- Query Ignoring ‘exclude’ Parameter?
- Custom pagination with WP_Query generating 404 error
- Query post with meta_query where date is not in future
- Apply CSS class to every second database record [closed]
- How to prevent writing duplicate loops?
- pre_get_posts order by not working
- merge two query arguments into one WP_Query call
- Adding a parameter to the default query
- Using WP_Query in “parse_query” or “pre_get_post” in Posts2Posts
- Taxonomy search/filter with multiple taxonomies and multiple taxonomy terms
- How do I change the order (ASC and DESC) in the following retrieval method using WP_Query?
- How To Fix WP Query Returns Results But Shouldn’t?
- Weird orderby => post__in issue
- how to handle multiple ajax wordpress queries?
- How to extract specific post
- wp_Qwery works to slow
- How to query custom post types with mixed AND & OR statements for custom fields
- Custom post type archive pagination query issue
- 2 weeks ago from meta query meta value
- WP Group posts by year(desc) > month(desc) > date(asc)
- Running main loop 2 times with conditional statement
- paged variable not working for category/custom post archive
- How to output the title of the blogs home page
- Array as ‘key’ in WP_Query
- Check the Specific Meta Key IF its Meta Value is Empty then… (WP Post Meta Query)
- Searching for meta_key returns 0 posts
- Using custom taxonomies in a query
- Determining Author post count
- How I can change the condition or compare operator for WP_Query in pre_get_posts
- Apply filters to main query instead of creating new one?
- WP_Query returns different results from get_posts() [closed]
- How to pass query string vars between admin pages?
- Query posts by Post title
- Use title of post as argument for query
- How can I comment comma-separated array values?
- Content not displaying on paginated page
- Different Loop for tag pages?
- 2 queries with counters
- Orderby two meta fields not working
- Multiple Query_Posts
- WP_Query: attachment image in “full” size?
- Adding pagination to sub-wp_query within a singular post page
- Page template doesn’t display simple HTML if inserted into other page?
- How to add date_query to meta_query array
- Order by the first array within a meta_query
- How to _GET multiple value checkbox WP_Query in Custom Toxonomy / Custom Fields
- Make a products only viewable to a specific user ID in meta_query pre_get_posts
- get_post_format is not returning standard
- Duplice post with standard WP loop – fixed by using query_posts() instead
- Get categories within specific term
- Exclude parent categories from recent posts list
- How can I query a radius of coordinates?
- custom excerpt is not being shown
- Filtering WP_Query based on wp_postmeta keys values
- WP_Query with meta_query won’t orderby
- Adding Category in WP_Query Not Working
- meta_query only check if both value are set
- post_type not working when tag__in is present?
- How to create page that lists tags by initial letter?
- Seach and categories not working when ignoring sticky posts in main loop
- posts_per_page increment additional post
- WordPress: Cron locking and Queue
- 3 wp_query on one page with pagination for last query
- how to query for meta_value have array
- How to make the default WordPress search return borader results
- WP_Query shows all posts on single post pages
- Display Count of posts
- Optimize WP_Query
- Add a custom variable to query page object
- List ALL posts within last week from current category on category page
- WP_Query on “property” in the options table
- Dynamically name array in WordPress loop – add/get values
- Read more redirection problem
- Creating Custom Query
- Help in query for list links
- Multiple loops on index page with sticky post and pagination
- WP_Query issues with argument posts_per_page
- Search (Custom Form, Custom Search Result)
- Randomly display posts on a site hosted by WPEngine? [closed]
- Hook to get the query result after listing posts
- Elementor custom query
- Why am I getting no results of a query placed after another query?