Heads up!
This article contains PHP code and is intended for developers. We offer this code as a courtesy, but don't provide support for code customizations or 3rd party development.
This article contains PHP code and is intended for developers. We offer this code as a courtesy, but don't provide support for code customizations or 3rd party development.
By default, a cookie is created when a form is submitted that is setup to be limited by the cookie time. This hook allows you to prevent the cookies from being created.
Usage
add_filter( 'frm_create_cookies', '__return_false' );
Parameters
- $create_cookies (boolean)
Examples
Basic example
add_filter( 'frm_create_cookies', '__return_false' );