wp_get_wp_version


wp_get_wp_version ( No parameters )

Returns:
  • (string) The current WordPress version.
Defined at:

Description

Returns the current WordPress version.Returns an unmodified value of `$wp_version`. Some plugins modify the global in an attempt to improve security through obscurity. This practice can cause errors in WordPress, so the ability to get an unmodified version is needed.

Related Functions

wp_check_php_version, wp_get_post_revision, wp_kses_version, wp_get_post_revisions, wp_get_webp_info

Top Google Results

User discussions

wpseek mobile