We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6341c01 commit 9c3a706Copy full SHA for 9c3a706
1 file changed
README.md
@@ -231,12 +231,12 @@ filter hook for this:
231
```php
232
<?php
233
234
-add_filter( 'wplf_import_html_template', function ($template, $form_id) {
+add_filter( 'wplf_import_html_template', function ( $template, $form_id ) {
235
$some_form_id = 123;
236
237
- if ($form_id === $some_form_id) {
+ if ( $form_id === $some_form_id ) {
238
// You can also render Twig templates and similar here
239
- return file_get_contents('/path/to/template/file.html');
+ return file_get_contents( '/path/to/template/file.html' );
240
}
241
242
return $template;
0 commit comments