27 lines
429 B
PHP
27 lines
429 B
PHP
|
<?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();
|
||
|
}
|