Changes between Initial Version and Version 1 of Ticket #58333, comment 7
- Timestamp:
- 05/17/2023 12:48:09 AM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #58333, comment 7
initial v1 14 14 15 15 add_filter('render_block_data', function($parsed_block) { 16 if (isset($parsed_block['innerContent'])) { 17 foreach ($parsed_block['innerContent'] as &$innerContent) { 18 $innerContent = do_shortcode($innerContent); 19 } 20 } 21 16 22 if (isset($parsed_block['innerBlocks'])) { 17 23 foreach ($parsed_block['innerBlocks'] as $key => &$innerBlock) {