I’m trying to apply the
pre_get_poststo a specific core/query block, in order to programatically modify the number of posts displayed when a custom attribute is set. If I use the
render_blockhook, the block is already pre-rendered and so modifying the query using
pre_get_postshas no effect. Is there any way to achieve this?
- You must be logged in to reply to this topic.