This commit is contained in:
2026-10-12 20:35:25 -06:00
parent bef9999f6a
commit 225515570a
963 changed files with 273176 additions and 0 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 );
}