Plugin Directory

Changeset 3095853


Ignore:
Timestamp:
05/31/2024 07:21:06 PM (19 months ago)
Author:
webdevstudios
Message:

code formatting change in readme

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wds-site-documentation/tags/1.1.0/readme.txt

    r3095793 r3095853  
    8888The 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:
    8989
    90 ```
     90`
    9191add_filter( 'wds_documentation_pdf_url', function( $pdf_url ) {
    9292    return 'https://agency.site/docs/client.pdf';
    9393}, 10, 1 );
    94 ```
     94`
    9595
    9696The 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:
    9797
    98 ```
     98`
    9999add_filter( 'wds_documentation_enable_changes', '__return_false', 10 );
    100 ```
     100`
    101101
    102102The banner image can be modified with `wds_documentation_banner_url`:
    103103
    104 ```
     104`
    105105add_filter( 'wds_documentation_banner_url', function( $banner_url ) {
    106106    return 'https://agency.site/docs/agency.png';
    107107}, 10, 1 );
    108 ```
     108`
    109109
    110110The footer text can be customized with `wds_documentation_footer`:
    111111
    112 ```
     112`
    113113add_filter( 'wds_documentation_footer', function( $footer ) {
    114114    return '<a href="mailto:[email protected]">Contact us!</a>';
    115115}, 10, 1 );
    116 ```
     116`
Note: See TracChangeset for help on using the changeset viewer.