mwform_start_main_process

mwform_start_main_process

Hook Type: action

See hook in core

Displaying hooks found in version: mw-wp-form.5.1.0

do_action('mwform_start_main_process') is found 2 times:

  • /classes/controllers/class.main.php line 138
    			 * Because refactoring changed the timing to execute the shortcode
    			 */
    			do_action( 'mwform_after_exec_shortcode', $form_key );
    
    			do_action( 'mwform_start_main_process', $form_key );
    
    			$this->Setting    = new MW_WP_Form_Setting( (int) $form_id );
    			$this->Data       = MW_WP_Form_Data::connect( $form_key, $_POST, $_FILES );
    			$post_condition   = $this->Data->get_post_condition();
    			$this->Validation = new MW_WP_Form_Validation( $form_key );
    			$Redirected       = new MW_WP_Form_Redirected( $form_key, $this->Setting, $this->Validation->is_valid(), $post_condition );
    
  • /classes/services/class.exec-shortcode.php line 72
    		 * Because refactoring changed the timing to execute the shortcode
    		 */
    		do_action( 'mwform_after_exec_shortcode', $this->form_key );
    
    		do_action( 'mwform_start_main_process', $this->form_key );
    
    		$this->Data     = MW_WP_Form_Data::connect( $this->form_key );
    		$this->view_flg = ( $this->Data->get_view_flg() ) ? $this->Data->get_view_flg() : 'input';
    		$this->Setting  = new MW_WP_Form_Setting( $this->form_id );
    
    		add_action( 'wp_footer', array( $this->Data, 'clear_values' ) );