📄 原始资料 | 展开查看原始 JSON(bricks-pagination-total_pages.json){ “name”: “bricks/pagination/total_pages”, “kind”: “filter”, “url”: “https://academy.bricksbuilder.io/developer/hooks/filters/bricks-pagination-total_pages/”, “scraped_at”: “2026-08-29”, “hook_name”: “bricks/pagination/total_pages”,…
📄 原始资料 | 展开查看原始 JSON(bricks-pagination-total_pages.json)
{
"name": "bricks/pagination/total_pages",
"kind": "filter",
"url": "https://academy.bricksbuilder.io/developer/hooks/filters/bricks-pagination-total_pages/",
"scraped_at": "2026-08-29",
"hook_name": "bricks/pagination/total_pages",
"description": {
"en": "The bricks/pagination/total_pages filter allows you to modify the total number of pages used in the pagination logic of Bricks Builder. In this example, we’ll demonstrate how to customize the total pages value based on custom loop results. @since 2.2 Related hooks:",
"zh": "bricks/pagination/total_pages 筛选器允许你在 Bricks Builder 的分页逻辑中修改总页数。在下面的示例中,我们将演示如何根据自定义循环结果自定义总页值。@since 2.2 相关钩子:"
},
"example_usage": null
}
前言
bricks/pagination/total_pages 筛选器允许你在 Bricks Builder 的分页逻辑中修改总页数。在下面的示例中,我们将演示如何根据自定义循环结果自定义总页值。@since 2.2 相关钩子:
补充说明
更多细节可参考 官方文档。