astra_has_widgets_block_editor()

Check is WordPress version is greater than or equal to beta 5.8 version.


Description


Return

(boolean)


Source

File: inc/extras.php

function astra_has_widgets_block_editor() {
	if ( ( defined( 'GUTENBERG_VERSION' ) && version_compare( GUTENBERG_VERSION, '10.6.2', '>' ) )
	|| version_compare( get_bloginfo( 'version' ), '5.8-alpha', '>=' ) ) {
		return true;
	}
	return false;
}

Changelog

Changelog
Version Description
3.6.5 Introduced.


User Contributed Notes

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