WC_Admin_Notices::maybe_remove_php73_required_notice()private staticWC 1.0

Remove the admin notice about the bump of the required PHP version in WooCommerce 7.7 if the current PHP version is good.

TODO: Remove this method in WooCommerce 7.7.

Method of the class: WC_Admin_Notices{}

No Hooks.

Return

null. Nothing.

Usage

$result = WC_Admin_Notices::maybe_remove_php73_required_notice();

WC_Admin_Notices::maybe_remove_php73_required_notice() code WC 7.5.1

private static function maybe_remove_php73_required_notice() {
	if ( version_compare( phpversion(), '7.3', '>=' ) && self::has_notice( 'php73_required_in_woo_77' ) ) {
		self::remove_notice( 'php73_required_in_woo_77' );
	}
}