Remove Template class
This commit is contained in:
@@ -6,16 +6,16 @@
|
||||
* @author QWp6t
|
||||
*/
|
||||
interface WrapperInterface {
|
||||
/**
|
||||
* Get a list of potential wrappers
|
||||
* Useful for passing to WordPress's locate_template()
|
||||
*
|
||||
* @return string[] List of wrappers; e.g., `base-page.php`, `base.php`
|
||||
*/
|
||||
public function getWrappers();
|
||||
|
||||
/**
|
||||
* @return string Template file that is being wrapped; e.g., `page.php`, `single.php`, `singular.php`
|
||||
* Get wrapper template file
|
||||
*
|
||||
* @return string Wrapper template (FQPN of, e.g., `base-page.php`, `base.php`)
|
||||
*/
|
||||
public function getWrapper();
|
||||
|
||||
/**
|
||||
* @return string Wrapped template (FQPN of, e.g., `page.php`, `single.php`, `singular.php`)
|
||||
*/
|
||||
public function getTemplate();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user