27 lines
429 B
PHP
Raw Normal View History

2024-01-15 08:43:49 +00:00
<?php
/**
* Kadence\Component_Interface interface
*
* @package kadence
*/
namespace Kadence;
/**
* Interface for a theme component.
*/
interface Component_Interface {
/**
* Gets the unique identifier for the theme component.
*
* @return string Component slug.
*/
public function get_slug() : string;
/**
* Adds the action and filter hooks to integrate with WordPress.
*/
public function initialize();
}