Automattic\WooCommerce\Internal\Admin

Loader::inject_after_notices()public staticWC 1.0

Runs after admin notices and closes div.

Method of the class: Loader{}

No Hooks.

Return

null. Nothing (null).

Usage

$result = Loader::inject_after_notices();

Loader::inject_after_notices() code 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>';
}