Changeset 2723657
- Timestamp:
- 05/14/2022 06:05:12 AM (4 years ago)
- Location:
- vab-forms-with-chart
- Files:
-
- 2 edited
-
tags/1.1.6/readme.txt (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
vab-forms-with-chart/tags/1.1.6/readme.txt
r2723656 r2723657 112 112 113 113 ` 114 /*************************************************************************115 **************************************************************************116 1. The first condition checks for a «cookie» with a value of «agree» set.117 Let's say you have an "I agree" button on your site that, when clicked,118 sets a «cookie» with the value «agree»,119 which means that the user has consented to the use of cookies.120 Thus, until the user clicks the "I agree" button, the form will not work,121 and the life of the bots will become more complicated.122 123 2. The second condition checks the value of the hidden field,124 if it is different from the default value («WordPress»),125 further processing of the form will be stopped.126 **************************************************************************127 **************************************************************************/128 129 114 add_filter( 'VABFWC_validate_filter', 'VABFWC_filter_function', 10 ); 130 115 if ( !function_exists( 'VABFWC_filter_function' ) ) { … … 141 126 Where: 142 127 143 * 1;144 * 2;128 * The first condition checks for a «cookie» with a value of «agree» set. Let's say you have an "I agree" button on your site that, when clicked, sets a «cookie» with the value «agree», which means that the user has consented to the use of cookies. Thus, until the user clicks the "I agree" button, the form will not work, and the life of the bots will become more complicated; 129 * The second condition checks the value of the hidden field, if it is different from the default value («WordPress»), further processing of the form will be stopped; 145 130 146 131 **3.** VABFWC_message_filter. If a «cookie» with a value of «agree» is not present (the user has not consented to the use of the «cookie»), the code below will display a message to the user. -
vab-forms-with-chart/trunk/readme.txt
r2723656 r2723657 112 112 113 113 ` 114 /*************************************************************************115 **************************************************************************116 1. The first condition checks for a «cookie» with a value of «agree» set.117 Let's say you have an "I agree" button on your site that, when clicked,118 sets a «cookie» with the value «agree»,119 which means that the user has consented to the use of cookies.120 Thus, until the user clicks the "I agree" button, the form will not work,121 and the life of the bots will become more complicated.122 123 2. The second condition checks the value of the hidden field,124 if it is different from the default value («WordPress»),125 further processing of the form will be stopped.126 **************************************************************************127 **************************************************************************/128 129 114 add_filter( 'VABFWC_validate_filter', 'VABFWC_filter_function', 10 ); 130 115 if ( !function_exists( 'VABFWC_filter_function' ) ) { … … 141 126 Where: 142 127 143 * 1;144 * 2;128 * The first condition checks for a «cookie» with a value of «agree» set. Let's say you have an "I agree" button on your site that, when clicked, sets a «cookie» with the value «agree», which means that the user has consented to the use of cookies. Thus, until the user clicks the "I agree" button, the form will not work, and the life of the bots will become more complicated; 129 * The second condition checks the value of the hidden field, if it is different from the default value («WordPress»), further processing of the form will be stopped; 145 130 146 131 **3.** VABFWC_message_filter. If a «cookie» with a value of «agree» is not present (the user has not consented to the use of the «cookie»), the code below will display a message to the user.
Note: See TracChangeset
for help on using the changeset viewer.