Yoast\WP\SEO\Plans\User_Interface
Plans_Page_Integration::remove_notices
Removes all current WP notices.
Метод класса: Plans_Page_Integration{}
Хуков нет.
Возвращает
void. Ничего (null).
Использование
$Plans_Page_Integration = new Plans_Page_Integration(); $Plans_Page_Integration->remove_notices();
Код Plans_Page_Integration::remove_notices() Plans Page Integration::remove notices Yoast 28.9
public function remove_notices() {
\remove_all_actions( 'admin_notices' );
\remove_all_actions( 'user_admin_notices' );
\remove_all_actions( 'network_admin_notices' );
\remove_all_actions( 'all_admin_notices' );
}