Yoast\WP\SEO\Bulk_Editor\User_Interface

Bulk_Editor_Integration::remove_notices │ public │ Yoast 1.0

Removes all current WP notices.

Метод класса: Bulk_Editor_Integration{}

Хуков нет.

Возвращает

void. Ничего (null).

Использование

$Bulk_Editor_Integration = new Bulk_Editor_Integration();
$Bulk_Editor_Integration->remove_notices();

Код Bulk_Editor_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' );
}