Welcome!

This weblog was the original abode of Abhijit Nadgouda, now it is moved to iface thoughts. He will appreciate it if you can carry discussions, if you want to, over there. He uses this blog to write specifically about Wordpress or Wordpress.com.

If you are reading any specific post dated on or before 17th August 2006, just replace the domain name with the new one, i.e., replace https://iface.wordpress.com with http://ifacethoughts.net and you will arrive on the same post in the new blog.

Actions and filters are two different types of hooks, they are semnatically different but syntactically the same. These filters and actions are stored in the wp_filter global variable. It is set using add_filter($tag, $function_to_add, $priority = 10, $accepted_args = 1) function defined in [wordpress root folder]/wp-includes/functions.php.

WordPress adds certain default actions and filters, most of which are done in [wordpress root folder]/wp-includes/default-filters.php. Function do_action($tag, $arg = ”) is used internally by WordPress to invoke the different registered filters and actions.

Plugin and theme developers can define custom functions and add them as filters or actions using the following functions provided by WordPress: