Your IP : 216.73.216.87


Current Path : /home2/noxxprod/public_html/wp-content/plugins/webp-express/lib/classes/
Upload File :
Current File : //home2/noxxprod/public_html/wp-content/plugins/webp-express/lib/classes/AlterHtmlPicture.php

<?php

namespace WebPExpress;

/**
 * Class AlterHtmlPicture - convert an <img> tag to a <picture> tag and add the webp versions of the images
 * Based this code on code from the ShortPixel plugin, which used code from Responsify WP plugin
 */

use \WebPExpress\AlterHtmlHelper;
use DOMUtilForWebP\PictureTags;

class AlterHtmlPicture extends PictureTags
{
    public function replaceUrl($url) {
        return AlterHtmlHelper::getWebPUrl($url, null);
    }
}