Yoast\WP\SEO\Presenters\Admin
Indexing_Notification_Presenter::__construct
Indexing_Notification_Presenter constructor.
Метод класса: Indexing_Notification_Presenter{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$Indexing_Notification_Presenter = new Indexing_Notification_Presenter(); $Indexing_Notification_Presenter->__construct( $short_link_helper, $total_unindexed, $reason );
- $short_link_helper(Short_Link_Helper) (обязательный)
- The short link helper.
- $total_unindexed(int) (обязательный)
- Total number of unindexed objects.
- $reason(строка) (обязательный)
- The reason to show in the notification.
Код Indexing_Notification_Presenter::__construct() Indexing Notification Presenter:: construct Yoast 26.9
public function __construct( $short_link_helper, $total_unindexed, $reason ) {
$this->short_link_helper = $short_link_helper;
$this->total_unindexed = $total_unindexed;
$this->reason = $reason;
}