Skip to content

Commit 9c3a706

Browse files
committed
Code style in README import example
1 parent 6341c01 commit 9c3a706

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -231,12 +231,12 @@ filter hook for this:
231231
```php
232232
<?php
233233

234-
add_filter( 'wplf_import_html_template', function ($template, $form_id) {
234+
add_filter( 'wplf_import_html_template', function ( $template, $form_id ) {
235235
$some_form_id = 123;
236236

237-
if ($form_id === $some_form_id) {
237+
if ( $form_id === $some_form_id ) {
238238
// You can also render Twig templates and similar here
239-
return file_get_contents('/path/to/template/file.html');
239+
return file_get_contents( '/path/to/template/file.html' );
240240
}
241241

242242
return $template;

0 commit comments

Comments
 (0)