The behavior of Contact Form Redux can be controlled by adding one or more of the following constants to your wp-config.php file.
You can prevent Contact Form Redux from loading its own CSS by setting the value of CFREDUX_LOAD_CSS to false:
The CFREDUX_AUTOP constant determines whether or not Contact Form Redux applies the “autop” filter to form content, replacing double line breaks with paragraph elements. Its default value is “true.” To prevent the “autop” filter from being used, set the constant to “false”:
The CFREDUX_USE_PIPE constant turns off Constant Form Redux’s special handling of the pipe (|) character. By default, it is set to “true.” To disable it, set the following:
Note that disabling CFREDUX_USE_PIPE will prevent piped values in Select Tags from working.
The CFREDUX_ADMIN_READ_CAPABILITY constant determines the minimum capability required to view contact forms. By default, it is set to “edit_posts,” which gives all Author and above users access. See Restrict Admin Access form more information.
This constant sets the minimum capability required to edit and delete contact forms. It must be equal to or more strict than CFREDUX_ADMIN_READ_CAPABILITY, because users must be able to read the pages in order to edit them. The default value is “publish_pages.” See Restrict Admin Access for more information.
The CFREDUX_UPLOADS_TMP_DIR constant sets the temporary folder for file uploads with the File Tag. For more information, see File Tags: File Upload Process.
The CFREDUX_VALIDATE_CONFIGURATION constant allows you to disable the Configuration Validator. To disable the Configuration Validator, add the following to wp-config:
or disable it in your child theme’s functions.php with: