Wrapper that prevents story repetition between block modules and sibling query loops.
Block name: prc-platform/block-area-context-provider
Source: plugins/prc-block-area-modules/src/block-area-context-provider/
Purpose
Collect _story_item_ids from enclosed prc-platform/block-area modules and inject them as post__not_in for nested core/post-template queries. The PHP render callback returns inner content unchanged (passthrough wrapper).
Attributes
None in block.json. Supports: anchor, html: false.
When to use
Place this around:
- One or more Block Area blocks that render story items
- Query / post-template blocks that should not repeat those stories
Typical on topic archive templates with a lede module above a feed.
Related behavior
See Architecture for render_block_context priorities, object cache, and the category-archive pre_get_posts exclusion for topic-lede.