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

Yoast\WP\SEO\Integrations\Alerts

Abstract_Dismissable_Alert::register_dismissable_alert() public Yoast 1.0

Registers the dismissable alert.

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

Хуков нет.

Возвращает

Строку[]. The allowed dismissable alerts.

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

$Abstract_Dismissable_Alert = new Abstract_Dismissable_Alert();
$Abstract_Dismissable_Alert->register_dismissable_alert( $allowed_dismissable_alerts );
$allowed_dismissable_alerts(строка[]) (обязательный)
The allowed dismissable alerts.

Код Abstract_Dismissable_Alert::register_dismissable_alert() Yoast 16.1.1

<?php
public function register_dismissable_alert( $allowed_dismissable_alerts ) {
	$allowed_dismissable_alerts[] = $this->alert_identifier;

	return $allowed_dismissable_alerts;
}