BIHomeWP/wp-content/plugins/wordpress-seo/admin/config-ui/components/interface-component.php
2020-02-13 10:39:37 +07:00

43 lines
636 B
PHP

<?php
/**
* WPSEO plugin file.
*
* @package WPSEO\Admin\ConfigurationUI
*/
/**
* Config Component interface.
*/
interface WPSEO_Config_Component {
/**
* Get onboarding wizard component identifier.
*
* @return string
*/
public function get_identifier();
/**
* Get onboarding wizard component data.
*
* @return mixed
*/
public function get_data();
/**
* Save changes.
*
* @param array $data Data provided by the API.
*
* @return mixed
*/
public function set_data( $data );
/**
* Get onboarding wizard component field.
*
* @return WPSEO_Config_Field
*/
public function get_field();
}