Download all files FTP

This commit is contained in:
2026-04-13 15:50:16 +02:00
parent d8382136b2
commit cb5b386424
6906 changed files with 1956223 additions and 40713 deletions

View File

@@ -0,0 +1,18 @@
<?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);
}
}