Yoast_Notification::is_persistent
Is this Notification persistent.
Метод класса: Yoast_Notification{}
Хуков нет.
Возвращает
true|false. True if persistent, False if fire and forget.
Использование
$Yoast_Notification = new Yoast_Notification(); $Yoast_Notification->is_persistent();
Код Yoast_Notification::is_persistent() Yoast Notification::is persistent Yoast 26.5
public function is_persistent() {
$id = $this->get_id();
return ! empty( $id );
}