This commit is contained in:
2026-10-06 18:51:23 -06:00
parent 8424dacd03
commit e2c26b7f21
4223 changed files with 737986 additions and 53 deletions
@@ -0,0 +1,21 @@
<?php
namespace WP_Rocket\Interfaces;
/**
* Render interface
*
* @since 3.0
* @author Remy Perona
*/
interface Render_Interface {
/**
* Renders the given template if it's readable.
*
* @since 3.0
* @author Remy Perona
*
* @param string $template Template slug.
* @param array $data Data to pass to the template.
*/
public function generate( $template, $data );
}