📄 原始资料 | 展开查看原始 JSON(bricks-related_posts-query_vars.json)
{
"name": "bricks/related_posts/query_vars",
"kind": "filter",
"url": "https://academy.bricksbuilder.io/developer/hooks/filters/filter-bricks-related_posts-query_vars/",
"scraped_at": "2026-08-29",
"hook_name": "bricks/related_posts/query_vars",
"description": {
"en": "Since Bricks 1.3.5 you may manipulate the related posts element query vars before the query is performed like so: The filter callback receives two arguments:",
"zh": "自 Bricks 1.3.5 起,你可以在执行 related posts 元素查询之前操纵其查询变量,如下所示:筛选器回调接收两个参数:"
},
"example_usage": null
}
前言
自 Bricks 1.3.5 起,你可以在执行 related posts 元素查询之前操纵其查询变量,如下所示:筛选器回调接收两个参数:
补充说明
更多细节可参考 官方文档。