Notes About WordPress Hook

Share Now

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.

Picture of Nahid Mahamud

Nahid Mahamud

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