HTTP/2 200
server: nginx
date: Tue, 14 Oct 2025 11:38:25 GMT
content-type: text/html; charset=UTF-8
vary: Accept-Encoding
x-olaf: ⛄
vary: accept, content-type
link:
; rel="https://api.w.org/"
link:
; rel="alternate"; title="JSON"; type="application/json"
link: ; rel=shortlink
x-frame-options: SAMEORIGIN
content-encoding: gzip
alt-svc: h3=":443"; ma=86400
x-nc: MISS ord 2
WP_Roles::__construct() – Method | Developer.WordPress.org
WP_Roles::__construct( int $site_id = null )
$site_id
intoptionalSite ID to initialize roles for. Default is the current site.
Default:null
Version | Description |
---|
4.9.0 | The $site_id argument was added. |
2.0.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.