xxxxxxxxxx
There are two types of hooks: Actions and Filters. To use either,
you need to write a custom function known as a Callback ,
and then register it with a WordPress hook for a specific action or filter.
Actions allow you to add data or change how WordPress operates.