bp_is_running_wp( string $version, string $compare = '>=' )

Check whether the current version of WP exceeds a given version.


Description Description


Parameters Parameters

$version

(Required) WP version, in "PHP-standardized" format.

$compare

(Optional) Comparison operator. Default '>='.

Default value: '>='


Top ↑

Return Return

(bool)


Top ↑

Source Source

File: bp-core/bp-core-functions.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
7.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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