FormActionDefaults.php 769 B

123456789101112131415161718192021222324252627282930
  1. <?php if ( ! defined( 'ABSPATH' ) ) exit;
  2. return apply_filters( 'ninja_forms_from_action_defaults', array(
  3. array(
  4. 'id' => 'tmp-1',
  5. 'label' => __( 'Success Message', 'ninja-forms' ),
  6. 'type' => 'successmessage',
  7. 'message' => __( 'Your form has been successfully submitted.', 'ninja-forms' ),
  8. 'order' => 1,
  9. 'active' => TRUE,
  10. ),
  11. array(
  12. 'id' => 'tmp-2',
  13. 'label' => __( 'Admin Email', 'ninja-forms' ),
  14. 'type' => 'email',
  15. 'order' => 2,
  16. 'active' => TRUE,
  17. ),
  18. array(
  19. 'id' => 'tmp-3',
  20. 'label' => __( 'Store Submission', 'ninja-forms' ),
  21. 'type' => 'save',
  22. 'order' => 3,
  23. 'active'=> TRUE,
  24. ),
  25. ));