wecuro_blog/wp-content/themes/kadence/inc/components/templating_component_interface.php

24 lines
692 B
PHP
Executable File

<?php
/**
* Kadence\Templating_Component_Interface interface
*
* @package kadence
*/
namespace Kadence;
/**
* Interface for a theme component that exposes template tags.
*/
interface Templating_Component_Interface {
/**
* Gets template tags to expose as methods on the Template_Tags class instance, accessible through `kadence()`.
*
* @return array Associative array of $method_name => $callback_info pairs. Each $callback_info must either be
* a callable or an array with key 'callable'. This approach is used to reserve the possibility of
* adding support for further arguments in the future.
*/
public function template_tags() : array;
}