| 1 |
<?php |
| 2 |
|
| 3 |
|
| 4 |
namespace JFB_Modules\Validation\Messages; |
| 5 |
|
| 6 |
// If this file is called directly, abort. |
| 7 |
if ( ! defined( 'WPINC' ) ) { |
| 8 |
die; |
| 9 |
} |
| 10 |
|
| 11 |
class Is_Empty_Value extends Base_Message { |
| 12 |
|
| 13 |
public function get_id(): string { |
| 14 |
return 'empty'; |
| 15 |
} |
| 16 |
|
| 17 |
public function get_label(): string { |
| 18 |
return __( 'Field is empty', 'jet-form-builder' ); |
| 19 |
} |
| 20 |
|
| 21 |
public function get_initial(): string { |
| 22 |
return __( 'Please fill out this field.', 'jet-form-builder' ); |
| 23 |
} |
| 24 |
} |
| 25 |
|