Tribe__Editor::is_wp_version()
Checks if we are on version 5.0-alpha or higher where we no longer have Gutenberg Project, but the Blocks Editor
Return
(boolean)
Source
File: src/Tribe/Editor.php
public function is_wp_version() {
global $wp_version;
return version_compare( $wp_version, '5.0-alpha', '>=' );
}
Changelog
| Version | Description |
|---|---|
| 4.8 | Introduced. |