Automattic\WooCommerce\Internal\Admin
Loader::inject_after_notices()
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() Loader::inject after notices code WC 9.7.1
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>'; }