groundhogg/steps/{type}/run/before
This Groundhogg hook used to run custom code before the action. It requires a type of action for hooking into the process.
do_action( "groundhogg/steps/{type}/run/before", $this );
This hook provides the object of the Groundhogg step class as an argument to work within your custom code.