Yoast\WP\SEO\Dashboard\Domain\Score_Groups\Readability_Score_Groups
No_Readability_Score_Group{}└─ Abstract_Readability_Score_Group
This class describes a missing readability score group.
Хуков нет.
Использование
$No_Readability_Score_Group = new No_Readability_Score_Group(); // use class methods
Методы
- public get_filter_value()
- public get_max_score()
- public get_min_score()
- public get_name()
- public get_position()
Код No_Readability_Score_Group{} No Readability Score Group{} Yoast 27.3
class No_Readability_Score_Group extends Abstract_Readability_Score_Group {
/**
* Gets the name of the readability score group.
*
* @return string The name of the readability score group.
*/
public function get_name(): string {
return 'notAnalyzed';
}
/**
* Gets the value of the readability score group that is used when filtering on the posts page.
*
* @return string The name of the readability score group that is used when filtering on the posts page.
*/
public function get_filter_value(): string {
return 'na';
}
/**
* Gets the position of the readability score group.
*
* @return int The position of the readability score group.
*/
public function get_position(): int {
return 3;
}
/**
* Gets the minimum score of the readability score group.
*
* @return int|null The minimum score of the readability score group.
*/
public function get_min_score(): ?int {
return null;
}
/**
* Gets the maximum score of the readability score group.
*
* @return int|null The maximum score of the readability score group.
*/
public function get_max_score(): ?int {
return null;
}
}