wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



wp_get_wp_version › WordPress Function

Da6.7.0
Deprecaton/a
wp_get_wp_version ( Nessun parametro )
Ritorna:
  • (string) The current WordPress version.
Definito a:
Codex:

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.


Sorgenti

function wp_get_wp_version() {
	require ABSPATH . WPINC . '/version.php';

	return $wp_version;
}