ldc-espri-restauration/wp-content/plugins/ninja-forms/includes/Config/FormActionDefaults.php

31 lines
809 B
PHP
Raw Normal View History

2018-12-03 13:56:48 +01:00
<?php if ( ! defined( 'ABSPATH' ) ) exit;
return apply_filters( 'ninja_forms_from_action_defaults', array(
array(
'id' => 'tmp-1',
2021-08-04 17:09:29 +02:00
'label' => esc_html__( 'Success Message', 'ninja-forms' ),
2018-12-03 13:56:48 +01:00
'type' => 'successmessage',
2021-08-04 17:09:29 +02:00
'message' => esc_textarea( __( 'Your form has been successfully submitted.', 'ninja-forms' ) ),
2018-12-03 13:56:48 +01:00
'order' => 1,
'active' => TRUE,
),
array(
'id' => 'tmp-2',
2021-08-04 17:09:29 +02:00
'label' => esc_html__( 'Admin Email', 'ninja-forms' ),
2018-12-03 13:56:48 +01:00
'type' => 'email',
'order' => 2,
'active' => TRUE,
),
array(
'id' => 'tmp-3',
2021-08-04 17:09:29 +02:00
'label' => esc_html__( 'Store Submission', 'ninja-forms' ),
2018-12-03 13:56:48 +01:00
'type' => 'save',
'order' => 3,
'active'=> TRUE,
),
));