bricks_update_page_schema
Assign Schema.org JSON-LD structured data to a WordPress page. Accepts single or multiple schemas and adds to page head automatically.
Instructions
Set JSON-LD structured data (Schema.org) for a page. Automatically adds @context. Outputs as in the page head. Accepts a single schema object or an array of schemas.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema | Yes | Schema.org JSON-LD object (or array of objects). Must include @type. Example: {"@type": "LocalBusiness", "name": "My Business", "address": {...}} | |
| page_id | Yes | WordPress page/post ID |