Which hook callback has priority if both plugin and theme use the same hook?
An action hook is simply a queue point that acts at a specific point in the PHP execution process: callbacks are queued via add_action() call, and everything in the queue gets processed in turn: add_action( ‘hook_name’, ‘callback_name’, $priority, $number_of_args ); A filter hook is a similar queue point, only it acts on a specific bit … Read more