Yoast_Notification::get_dismissal_key()
Get the User Meta key to check for dismissal of notification.
Метод класса: Yoast_Notification{}
Хуков нет.
Возвращает
Строку
. User Meta Option key that registers dismissal.
Использование
$Yoast_Notification = new Yoast_Notification(); $Yoast_Notification->get_dismissal_key();
Код Yoast_Notification::get_dismissal_key() Yoast Notification::get dismissal key Yoast 24.0
public function get_dismissal_key() { if ( empty( $this->options['dismissal_key'] ) ) { return $this->options['id']; } return $this->options['dismissal_key']; }