| Server IP : 167.235.67.158 / Your IP : 216.73.216.179 Web Server : Apache System : Linux ubuntu-8gb-nbg1-1 6.8.0-111-generic #111-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 11 23:16:02 UTC 2026 x86_64 User : upstairsbar.co.uk ( 982) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/pawsandpatience.co.uk/wp-content/plugins/wp-smushit/core/transform/ |
Upload File : |
<?php
namespace Smush\Core\Transform;
use Smush\Core\Parser\Page;
use Smush\Core\Parser\Rest_Content;
interface Transform {
/**
* Should the current page content be transformed? This is for the whole page.
* Transforms may choose to ignore individual URLs or elements in the other methods.
* @return bool
*/
public function should_transform();
/**
* @param $page Page
*
* @return void
*/
public function transform_page( $page );
public function transform_image_url( $url );
}