HEX
Server: Apache
System: Linux eisbus 6.8.12-9-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-9 (2025-03-16T19:18Z) x86_64
User: www-data (33)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: /var/www/wordpress/wp-content/plugins/wp-smushit/core/transform/class-transform.php
<?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 );
}