# jetformbuilder/3.6.6/includes/actions/events/default-process/default-process-executor.php

JetFormBuilder — Dynamic Blocks Form Builder, version 3.6.6. 39 lines.

- Page: https://pluginprobe.com/plugins/jetformbuilder/3.6.6/code/includes/actions/events/default-process/default-process-executor.php
- Raw: https://pluginprobe.com/plugins/jetformbuilder/3.6.6/raw/includes/actions/events/default-process/default-process-executor.php
- Modified: 2023-11-21T13:04:24+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/jetformbuilder/3.6.6/code/includes/actions/events/default-process/default-process-executor.php#L10-L20`.

```php
<?php


namespace Jet_Form_Builder\Actions\Events\Default_Process;

use Jet_Form_Builder\Actions\Events\Base_Executor;
use Jet_Form_Builder\Actions\Types\Base;

// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
	die;
}

class Default_Process_Executor extends Base_Executor {

	public function before_execute() {
		do_action( 'jet-form-builder/actions/before-send' );

		parent::before_execute();
	}

	public function after_execute() {
		do_action( 'jet-form-builder/actions/after-send' );

		parent::after_execute();
	}

	protected function is_valid_action( Base $action ): bool {
		return ( ! count( $action->get_events() ) || parent::is_valid_action( $action ) );
	}

	/**
	 * @return bool
	 */
	public function is_supported(): bool {
		return true;
	}
}

```
