Yoast\WP\SEO\Dashboard\Domain\Score_Groups

Score_Groups_Interface{}Yoast 1.0

This interface describes a score group implementation.

Хуков нет.

Использование

$Score_Groups_Interface = new Score_Groups_Interface();
// use class methods

Методы

  1. public get_filter_key()
  2. public get_filter_value()
  3. public get_max_score()
  4. public get_min_score()
  5. public get_name()
  6. public get_position()

Код Score_Groups_Interface{} Yoast 24.4

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
	 */
	public function get_min_score(): ?int;

	/**
	 * Gets the maximum score of the score group.
	 *
	 * @return int
	 */
	public function get_max_score(): ?int;

	/**
	 * Gets the position of the score group.
	 *
	 * @return int
	 */
	public function get_position(): int;
}