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; }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
3.6.5 | Introduced. |