WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана

WPSEO_Health_Check_Default_Tagline::run() public Yoast 1.0

Runs the test.

{} Это метод класса: WPSEO_Health_Check_Default_Tagline{}

Хуков нет.

Возвращает

null. Ничего.

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

$WPSEO_Health_Check_Default_Tagline = new WPSEO_Health_Check_Default_Tagline();
$WPSEO_Health_Check_Default_Tagline->run();

Код WPSEO_Health_Check_Default_Tagline::run() Yoast 17.3

public function run() {
	if ( ! $this->has_default_tagline() ) {
		$this->label          = esc_html__( 'You changed the default WordPress tagline', 'wordpress-seo' );
		$this->status         = self::STATUS_GOOD;
		$this->badge['color'] = 'blue';
		$this->description    = esc_html__( 'You are using a custom tagline or an empty one.', 'wordpress-seo' );

		return;
	}

	$this->label          = esc_html__( 'You should change the default WordPress tagline', 'wordpress-seo' );
	$this->status         = self::STATUS_RECOMMENDED;
	$this->badge['color'] = 'red';

	$this->description = esc_html__( 'You still have the default WordPress tagline. Even an empty one is probably better.', 'wordpress-seo' );

	$query_args    = [
		'autofocus[control]' => 'blogdescription',
	];
	$customize_url = add_query_arg( $query_args, wp_customize_url() );

	$this->actions = sprintf(
		/* translators: 1: link open tag; 2: link close tag. */
		esc_html__( '%1$sYou can change the tagline in the customizer%2$s.', 'wordpress-seo' ),
		'<a href="' . esc_attr( $customize_url ) . '">',
		'</a>'
	);
}