Skip to content

Commit b25aa76

Browse files
author
Antti Kuosmanen
committed
Small README fixes
1 parent 443c35f commit b25aa76

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -140,15 +140,13 @@ You can create multilingual forms using Polylang. WPLF will register and automat
140140

141141
Example:
142142
```html
143-
<input type="text" placeholder="{{ Test string }}" name="test">
143+
<input type="text" placeholder="{{ Test string }}" name="test">
144144
```
145145

146146
You can also disable this feature, and create your own middleware for WPML, if you'd like.
147147

148148
```php
149-
add_filter( 'wplf_load_polylang' , function() {
150-
return false;
151-
} );
149+
add_filter( 'wplf_load_polylang' , __return_false );
152150
```
153151

154152
## Adding extra classes to the form element

0 commit comments

Comments
 (0)