type . '_settings', array( $this, 'page_settings' ) ); add_action( 'hf_process_form_action_' . $this->type, array( $this, 'process' ), 10, 3 ); } /** * Renders the settings for this action. * * @param array $settings */ abstract function page_settings( $settings ); abstract function process( array $settings, Submission $submission, Form $form ); /** * @param array $actions * @return array */ public function register( array $actions ) { $actions[$this->type] = $this->label; return $actions; } }