{
  "name": "bricks/woocommerce/products_orderby_options",
  "kind": "filter",
  "url": "https://academy.bricksbuilder.io/developer/hooks/filters/bricks-woocommerce-products_orderby_options/",
  "scraped_at": "2026-08-29",
  "hook_name": "bricks/woocommerce/products_orderby_options",
  "description": {
    "en": "Filters WooCommerce product order-by options used by Bricks controls.",
    "zh": "筛选 Bricks 控件使用的 WooCommerce 产品排序选项。"
  },
  "parameters": [
    {
      "name": "options",
      "type": "array",
      "type_zh": null,
      "description": {
        "en": "Order-by option keys and labels.",
        "zh": "排序选项键和标签。"
      }
    }
  ],
  "example_usage": "add_filter( 'bricks/woocommerce/products_orderby_options', function( $options ) {\n    $options['title'] = esc_html__( 'Sort by title', 'my-plugin' );\n\n\n    return $options;\n} );"
}