Action disabled: register
nukeviet5:codex:hooks-reference:emailtemplates:content_correct_before_save
content_correct_before_save
Xử lý dữ liệu trước khi lưu vào CSDL.
Tham số
STT | Tên biến | Kiểu dữ liệu | Ghi chú |
---|---|---|---|
0 | $array | array |
Dữ liệu trả về
Biến $array
Ví dụ viết plugin
nv_add_hook($module_name, 'content_correct_before_save', $priority, function($vars) { $array = $vars[0]; // Thực hiện code hook tại đây... return $array; });
nukeviet5/codex/hooks-reference/emailtemplates/content_correct_before_save.txt · Sửa đổi lần cuối: 2019/08/14 08:50 bởi hoaquynhtim99