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)


Top ↑

Source

File: src/Tribe/Editor.php

	public function is_wp_version() {
		global $wp_version;

		return version_compare( $wp_version, '5.0-alpha', '>=' );
	}

Top ↑

Changelog

Changelog
Version Description
4.8 Introduced.