ActionDeleteDataRequestSettings.php 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. <?php if ( ! defined( 'ABSPATH' ) ) {
  2. exit;
  3. }
  4. return apply_filters( 'ninja_forms_action_deletedatarequest_settings', array(
  5. 'message' => array(
  6. 'name' => 'message',
  7. 'type' => 'html',
  8. 'group' => 'primary',
  9. 'label' => __( 'This is a message', 'ninja-forms' ),
  10. 'value' => __( 'This action adds users to WordPress\' personal data delete tool, allowing admins to comply with the GDPR and other privacy regulations from the site\'s front end.', 'ninja-forms' ),
  11. 'width' => 'full',
  12. 'use_merge_tags' => true,
  13. ),
  14. 'email' => array(
  15. 'name' => 'email',
  16. 'type' => 'textbox',
  17. 'group' => 'primary',
  18. 'label' => __( 'Email', 'ninja-forms' ),
  19. 'placeholder' => __( 'Email address field', 'ninja-forms' ),
  20. 'width' => 'one-half',
  21. 'use_merge_tags' => true,
  22. ),
  23. 'anonymize' => array(
  24. 'name' => 'anonymize',
  25. 'type' => 'toggle',
  26. 'group' => 'advanced',
  27. 'label' => __( 'Anonymize Data', 'ninja-forms' ),
  28. 'width' => 'full',
  29. ),
  30. ) );