Yoast\WP\SEO\Dashboard\Domain\Score_Groups
Score_Groups_Interface{}
This interface describes a score group implementation.
Хуков нет.
Использование
$Score_Groups_Interface = new Score_Groups_Interface(); // use class methods
Методы
- public get_filter_key()
- public get_filter_value()
- public get_max_score()
- public get_min_score()
- public get_name()
- public get_position()
Код Score_Groups_Interface{} Score Groups Interface{} Yoast 27.6
interface Score_Groups_Interface {
/**
* Gets the name of the score group.
*
* @return string
*/
public function get_name(): string;
/**
* Gets the key of the score group that is used when filtering on the posts page.
*
* @return string
*/
public function get_filter_key(): string;
/**
* Gets the value of the score group that is used when filtering on the posts page.
*
* @return string
*/
public function get_filter_value(): string;
/**
* Gets the minimum score of the score group.
*
* @return int|null
*/
public function get_min_score(): ?int;
/**
* Gets the maximum score of the score group.
*
* @return int|null
*/
public function get_max_score(): ?int;
/**
* Gets the position of the score group.
*
* @return int
*/
public function get_position(): int;
}