Notes About WordPress Hook

Share Now

Share on facebook
Share on pinterest
Share on twitter
Share on linkedin
Share on email

Hook is known is event broadcasting system in WordPress.

There are 2 types of Hook:
a) Action Hook
b) Filter Hook

ACTION HOOK:
Cannot modify final action/decision.

FILTER HOOK:
You can modify final decision/action.

HOOK PRIORITY
You can add priority to you WP hooks.
The hook with a lower value will run earlier than the hook with a greater value.

Nahid Mahamud

Nahid Mahamud

Web Developer | Graphic Designer | WordPress & Woo-commerce Expert