event.php
28 lines
| 1 | <?php |
| 2 | |
| 3 | |
| 4 | namespace JFB_Modules\Verification\Events\Verification_Failed; |
| 5 | |
| 6 | // If this file is called directly, abort. |
| 7 | if ( ! defined( 'WPINC' ) ) { |
| 8 | die; |
| 9 | } |
| 10 | |
| 11 | use Jet_Form_Builder\Actions\Events\Base_Event; |
| 12 | |
| 13 | class Event extends Base_Event { |
| 14 | |
| 15 | public function get_id(): string { |
| 16 | return 'VERIFICATION.FAILED'; |
| 17 | } |
| 18 | |
| 19 | /** |
| 20 | * @inheritDoc |
| 21 | */ |
| 22 | public function executors(): array { |
| 23 | return array( |
| 24 | new Executor(), |
| 25 | ); |
| 26 | } |
| 27 | } |
| 28 |