Hello All,

Action and Filter are both the types of hook which are available for WordPress Blog. There is one similarity between these two is that one can use add_filter() for an action, and for a filter too. However, there are few differences between these two and they are addressed as below:

Actions and Filters have a different code. Filters are just that filter through which information is passed and then used. When all filters have been run then there may be some changes in information. While in actions information may be passed between functions that use the action hook. But no change is made with the information after all the filters have been run and completed the process.

Actions are not all “No Parameters” hooks but it returns any information which may get when using an action hook.

Thanks,

Shane G.

Popularity: 3%

Related posts:
  1. An Introduction To Hooks, Actions And Filters In WordPress Blog Hello All, Below mentioned is an introduction to hooks and...
  2. FeedWordPress Duplicate Post Filter Plugin Hi, This plugin is a filter for the FeedWordPress plugin....
  3. Extended Admin Post Filter Plugin For Wordpress Hi, This plugin is used to add multiple filters including...
  4. What Is The Difference Between Posts And Pages In WordPress Blog? Hello All, There is no limit on the number of...
  5. BuddyPress Links Wordpress Plugin Hi, BuddyPress Links is a drop in link sharing component...

Leave a Reply

You must be logged in to post a comment.