WC_Admin_Notices::add_min_version_notice()

Add notice about minimum PHP and WordPress requirement.


Description Description


Source Source

File: includes/admin/class-wc-admin-notices.php

	public static function add_min_version_notice() {
		if ( version_compare( phpversion(), WC_NOTICE_MIN_PHP_VERSION, '<' ) || version_compare( get_bloginfo( 'version' ), WC_NOTICE_MIN_WP_VERSION, '<' ) ) {
			self::add_notice( WC_PHP_MIN_REQUIREMENTS_NOTICE );
		}
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.6.5 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.