🚀 🚀 LAUNCH SALE - 33% off all Lifetime Licenses

v1.1.0

New

  • Core Block Support setting: Select which core blocks (paragraph, heading, list-item, quote) receive dynamic tag replacements and loop context injection inside GenerateBlocks loops. Configurable from Settings > GB Query Enhancements.
  • Command Palette integration: Insert dynamic tags via Cmd+K / Ctrl+K. Searches all registered dynamic tags and inserts at cursor in supported blocks, or copies to clipboard as a fallback.
  • {{post_id}} placeholder: Use {{post_id}} in the Meta Value field of Post Query to dynamically insert the current post ID. Useful for relational meta queries inside loops.
  • Added extensive filter and action hooks for customizing queries, loop item context, dynamic tag output, and rendered content:
    • Filter query results after execution.
      • gb_query_enhancements_term_query_data / gb_query_enhancements_user_query_data
    • Modify block context per loop item.
      • gb_query_enhancements_term_loop_item_context / gb_query_enhancements_user_loop_item_context
    • Filter individual dynamic tag output.
      • gb_query_enhancements_dynamic_tag_output_{$tag}
    • Control core block support programmatically.
      • gb_query_enhancements_supported_core_blocks / gb_query_enhancements_context_keys
    • Filter rendered loop HTML.
      • gb_query_enhancements_term_query_render_loop_items / gb_query_enhancements_user_query_render_loop_items
    • Action hooks around each loop item render.
      • gb_query_enhancements_term_query_before_loop_item / gb_query_enhancements_term_query_after_loop_item (and user equivalents)
  • Hooks reference documentation: Full developer docs for all filters and actions with examples and execution order.

Improved

  • Settings page redesign: Card-based layout with status badges, toggle switches, and a cleaner visual hierarchy.
  • Dynamic tag type hints and docblocks: Added return types, parameter types, and PHPDoc to Dynamic_Tags methods (with_url, with_fallback, filter_output).
  • Code style cleanup: WordPress coding standards spacing fixes, removed stray console.log, cleaned up whitespace in SCSS.
  • Test coverage: New tests for Dynamic_Tags (core block support, context keys, context injection), Post_Query ({{post_id}} placeholder), and expanded filter signature tests for Term_Query and User_Query.
  • gb_query_enhancements_term_query_args and gb_query_enhancements_user_query_args now pass $attributes and $page as additional parameters.
  • gb_query_enhancements_rest_term_query_args and gb_query_enhancements_rest_user_query_args now pass original $args and $attributes.

Fixed

  • User meta dynamic tags in editor preview: user_meta tags now correctly resolve against the loop item’s user ID during editor preview, instead of falling back to the current user.
  • License activation notice: Fixed a typo ($results instead of $result) that prevented the activation success/error status from displaying correctly.