Adding filter and action hooks to your WordPress plugin https://jacobmartella.me/web-development/wordpress/adding-filters-actions-hooks-wordpress-plugin/