Action: add_user_to_blog
จะทำงานทันทีหลังจากที่มีการเพิ่มผู้ใช้เข้าสู่เว็บไซต์
พารามิเตอร์ (Parameters)
| Name | Type | คำอธิบาย (Description) |
|---|---|---|
| $user_id | int | ID ของผู้ใช้ |
| $role | string | บทบาทของผู้ใช้ |
| $blog_id | int | ID ของบล็อก |
ตั้งแต่ (Since)
- MU: MU
แหล่งที่มา (Source)
- กำหนดไว้ใน
inc/mu-migration/includes/helpers.phpบรรทัดที่ 174