Automattic\WooCommerce\Internal\Admin
Loader::inject_after_notices
Runs after admin notices and closes div.
Method of the class: Loader{}
No Hooks.
Returns
null. Nothing (null).
Usage
$result = Loader::inject_after_notices();
Loader::inject_after_notices() Loader::inject after notices code WC 10.5.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>';
}