Action: wu_{$this->model}_post_save
當一個物件儲存到資料庫後會觸發此動作。
參數
| Name | Type | Description |
|---|---|---|
| $data | array | 即將儲存的物件資料。 |
| $this | \Base_Model | 物件實例。 |
| $new | bool | 如果物件是新增的,則為 True。 |
Since
- 2.0.0
Source
- 定義於
inc/models/class-base-model.php第 624 行 - 定義於
inc/models/class-site.php第 1754 行