types of hooks in WordPress…

Hooks allow user to create WordPress theme or plugin with shortcode without changing the original core files.

two types of hooks:

1) Action hooks
2) Filter hooks

1. Action hooks :
Action hooks allow you to insert an additional code from an outside resource.
For Example:
Go to the Link CLICK HERE. You can see action hook example used for redirection for custom login page.

2. Filter hooks
Filter hooks will only allow you to add a content or text at the end of the post.
For example:
We want to change the Excerpt length. then we have to use the Filter Hook

And alive to lifes possibilities must underwrite the essay online processes of selfnarrating?

Gaurav Kumar

Hi, my name is Gaurav Kumar and I specialize in Computer Software industry. I have been working as a Software Developer from last 3+ years,and its my passion to learn new technology and sharing what I've learned.