Yoast\WP\SEO\Dashboard\Domain\Score_Groups\SEO_Score_Groups

No_SEO_Score_Group{}Yoast 1.0

This class describes a missing SEO score group.

Хуков нет.

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

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

Методы

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

Код No_SEO_Score_Group{} Yoast 24.4

class No_SEO_Score_Group extends Abstract_SEO_Score_Group {

	/**
	 * Gets the name of the SEO score group.
	 *
	 * @return string The name of the SEO score group.
	 */
	public function get_name(): string {
		return 'notAnalyzed';
	}

	/**
	 * Gets the value of the SEO score group that is used when filtering on the posts page.
	 *
	 * @return string The name of the SEO score group that is used when filtering on the posts page.
	 */
	public function get_filter_value(): string {
		return 'na';
	}

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

	/**
	 * Gets the minimum score of the SEO score group.
	 *
	 * @return null The minimum score of the SEO score group.
	 */
	public function get_min_score(): ?int {
		return null;
	}

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