File "templating_component_interface.php"

Full Path: /home/romayxjt/public_html/wp-content/themes/kadence/inc/components/templating_component_interface.php
File size: 692 bytes
MIME-type: text/x-php
Charset: utf-8

<?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;
}