Changeset 44576
- Timestamp:
- 01/14/2019 01:46:56 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/blocks.php
r44555 r44576 189 189 } 190 190 191 $source_block = $block; 192 191 193 /** 192 194 * Filters the block being rendered in render_block(), before it's processed. … … 194 196 * @since 5.1.0 195 197 * 196 * @param array $block The block being rendered. 197 */ 198 $block = apply_filters( 'render_block_data', $block ); 198 * @param array $block The block being rendered. 199 * @param array $source_block An un-modified copy of $block, as it appeared in the source content. 200 */ 201 $block = apply_filters( 'render_block_data', $block, $source_block ); 199 202 200 203 $block_type = WP_Block_Type_Registry::get_instance()->get_registered( $block['blockName'] );
Note: See TracChangeset
for help on using the changeset viewer.