Automattic\WooCommerce\Internal\Admin

Loader::inject_after_notices()public staticWC 1.0

Runs after admin notices and closes div.

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

Хуков нет.

Возвращает

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

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

$result = Loader::inject_after_notices();

Код Loader::inject_after_notices() WC 8.7.0

public static function inject_after_notices() {
	if ( ! PageController::is_admin_or_embed_page() ) {
		return;
	}

	// Close the hidden div used to prevent notices from flickering before
	// they are inserted elsewhere in the page.
	echo '</div>';
}