Skip to content

Commit 6173d88

Browse files
committed
fix documentation about disable_validate_additional_fields usage
1 parent 7590e5c commit 6173d88

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ These filters are only applied for the target form by ID or slug.
173173
Disabling additonal fields validation for all forms:
174174

175175
```php
176-
add_filter( 'wplf_disable_validate_additional_fields' , __return_false );
176+
add_filter( 'wplf_disable_validate_additional_fields' , '__return_true' );
177177
```
178178

179179
### Filter: wplf_dynamic_values

0 commit comments

Comments
 (0)