Opened 7 years ago
Closed 7 years ago
#45061 closed defect (bug) (fixed)
Document how args are passed from `wp_insert_site()` to `wp_initialize_site()`
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 5.2 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Networks and Sites | Keywords: | good-first-bug has-patch dev-feedback |
| Focuses: | docs, multisite | Cc: |
Description
The docs for wp_insert_site() include only the arguments that are used directly in that function. They should also mention how any other arguments passed along to the wp_initialize_site hook. By default, this can include user_id, title, options, and `meta.
Attachments (1)
Change History (9)
This ticket was mentioned in Slack in #core by sergey. View the logs.
7 years ago
This ticket was mentioned in Slack in #core-multisite by spacedmonkey. View the logs.
7 years ago
This ticket was mentioned in Slack in #core by jeffpaul. View the logs.
7 years ago
Note: See
TracTickets for help on using
tickets.
wp_insert_site()Documentation Update