Plugin Directory

Changeset 1998900


Ignore:
Timestamp:
12/20/2018 02:39:50 PM (7 years ago)
Author:
eastsidecode
Message:

Updates instructions for how to use webpSupported function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-enable-webp/trunk/readme.txt

    r1998897 r1998900  
    2828
    2929Example:
    30 <?php if (webpSupported()) : ?>
     30if (webpSupported()) :
    3131    <img src="images/example.webp" />
    32 <?php else: ?>
     32 else:
    3333    <img src="images/example.jpg" />
    34 <?php endif ?>
     34 endif;
    3535
    3636
Note: See TracChangeset for help on using the changeset viewer.