Know your Hooks actions and filters in wordpress

In WordPress one of the most important features for extending WordPress is called a hook. These are simply a standardized way of “hooking” into WordPress. By using the hooks, you can execute functions at specific times in the WordPress process, it permitting you to alter how WordPress functions and the expected the output. Interact with your content in WordPress so hooks are the primary way plugins.

Hook is a simply PHP function it call with various parameters that can be sent at a time. Bellow is an example showing a properly formatted Action hook call:

<?php add_action( $tag, $function_to_add, $priority, $accepted_args ); ?>