wp_set_homepage
Set a published page as the site's front page (homepage). Pass post_id to use that page; omit it to revert to the latest-posts blog view. Changes the LIVE homepage (reversible). Requires writes enabled.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post_id | No | Published page ID to set as homepage (omit to revert to blog) | |
| site_id | Yes | The WordPress site ID |