Uses
Uses | Description |
---|---|
wp-includes/general-template.php: get_bloginfo() | Retrieves information about the current site. |
Checks compatibility with the current WordPress version.
(string) (Required) Minimum required WordPress version.
(bool) True if required version is compatible or empty, false if not.
File: wp-includes/functions.php
function is_wp_version_compatible( $required ) { return empty( $required ) || version_compare( get_bloginfo( 'version' ), $required, '>=' ); }
Version | Description |
---|---|
5.2.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/is_wp_version_compatible