Wincher_Dashboard_Widget::queue_wincher_dashboard_widget()
Adds the Wincher dashboard widget if it should be shown.
Метод класса: Wincher_Dashboard_Widget{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$Wincher_Dashboard_Widget = new Wincher_Dashboard_Widget(); $Wincher_Dashboard_Widget->queue_wincher_dashboard_widget();
Код Wincher_Dashboard_Widget::queue_wincher_dashboard_widget() Wincher Dashboard Widget::queue wincher dashboard widget Yoast 24.0
public function queue_wincher_dashboard_widget() { if ( $this->show_widget() ) { add_action( 'wp_dashboard_setup', [ $this, 'add_wincher_dashboard_widget' ] ); } }