Skip to content

Commit

Permalink
Fix code formatting in README
Browse files Browse the repository at this point in the history
  • Loading branch information
oddevan committed Mar 26, 2021
1 parent 21ba23a commit a1bbe2e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Absolutely. [Drop us a line!][wds-contact]
The URLs for the movie and PDF files can be modified with the `wds_documentation_video_url`
and `wds_documentation_pdf_url` filters respectively. For example:

```php
```
add_filter( 'wds_documentation_pdf_url', function( $pdf_url ) {
return 'https://agency.site/docs/client.pdf';
}, 10, 1 );
Expand All @@ -72,21 +72,21 @@ add_filter( 'wds_documentation_pdf_url', function( $pdf_url ) {
The upload buttons can be turned off with the filter `wds_documentation_enable_changes`. To
turn off the buttons, add this code to your theme's `functions.php` file:

```php
```
add_filter( 'wds_documentation_enable_changes', '__return_false', 10 );
```

The banner image can be modified with `wds_documentation_banner_url`:

```php
```
add_filter( 'wds_documentation_banner_url', function( $banner_url ) {
return 'https://agency.site/docs/agency.png';
}, 10, 1 );
```

The footer text can be customized with `wds_documentation_footer`:

```php
```
add_filter( 'wds_documentation_footer', function( $footer ) {
return '<a href="mailto:person@agency.site">Contact us!</a>';
}, 10, 1 );
Expand Down

0 comments on commit a1bbe2e

Please sign in to comment.