https://hostenko.com/wpcafe/hacks/adding-custom-hooks-in-wordpress-custom-actions/
View the discussion thread.