# 2

Định nghĩa lại add\_action để hook một mảng các action :)

![](https://2370029328-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LWPtKFbhw0XehxVuoiZ%2F-M9BPKQNK2YdOzb4UmKO%2F-M9BRia1EWwU_IG2HTA1%2F1.png?alt=media\&token=e4825bde-2622-48a3-8b8d-60fa50d1479c)

![](https://2370029328-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LWPtKFbhw0XehxVuoiZ%2F-M9BPKQNK2YdOzb4UmKO%2F-M9BRmaH5kWxdxD1K7pn%2F2.png?alt=media\&token=e22670c2-12c2-48a0-af50-7e60a65d39d3)

![](https://2370029328-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LWPtKFbhw0XehxVuoiZ%2F-M9BPKQNK2YdOzb4UmKO%2F-M9BRpkOovj8czxKVS9x%2F3.png?alt=media\&token=570de109-149a-4c36-9c8c-169e47f15fb0)

load method trong class vào add\_action định nghĩa lại&#x20;

![](https://2370029328-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LWPtKFbhw0XehxVuoiZ%2F-M9BPKQNK2YdOzb4UmKO%2F-M9BT29D8H7gNNzm_e88%2F4.png?alt=media\&token=e5a80c8a-713d-4c79-83a3-ba28513af2b7)

![](https://2370029328-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LWPtKFbhw0XehxVuoiZ%2F-M9BPKQNK2YdOzb4UmKO%2F-M9BT4Olj9DpJXAa89mj%2F5.png?alt=media\&token=3609dc0d-26a2-4c83-9abf-c856c063f1ff)
