Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Synced Patterns: Apply Block Hooks on frontend
  • Loading branch information
ockham committed Dec 17, 2024
commit d32b5ad253fadc6ffeb5574499548aa8b0799399
1 change: 1 addition & 0 deletions packages/block-library/src/block/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ function render_block_core_block( $attributes ) {
add_filter( 'render_block_context', $filter_block_context, 1 );
}

$content = apply_block_hooks_to_content( $content, $reusable_block );
$content = do_blocks( $content );
unset( $seen_refs[ $attributes['ref'] ] );

Expand Down
Loading