Hook name: rest_api_init
Hook type: action
Description: Sets up the default filters and actions for most
of the WordPress hooks. If you need to remove a default hook, this file will
give you the priority to use for removing the hook.
Not all of the default hooks are found in this file.
For instance, administration-related hooks are located in
If a hook should only be called from a specific context
(admin area, multisite environment…), please move it
to a more appropriate file instead.