Astra_Menu::spectra_has_top_level_menu()

In version 2.4.1 Spectra introduces top level admin menu so there is no meaning to show Spectra submenu from Astra menu.


Description


Return

(bool) true|false.


Source

File: admin/includes/class-astra-menu.php

	public function spectra_has_top_level_menu() {
		return defined( 'UAGB_VER' ) && version_compare( UAGB_VER, '2.4.1', '>=' ) ? true : false;
	}

Changelog

Changelog
Version Description
4.1.4 Introduced.

User Contributed Notes

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