Astra_Gutenberg::__construct()
Constructor
Description
Source
File: inc/compatibility/class-astra-gutenberg.php
public function __construct() {
if ( ! astra_block_based_legacy_setup() ) {
add_action( 'wp', array( $this, 'is_layout_with_blocks' ), 1 );
} else {
add_filter( 'render_block', array( $this, 'restore_group_inner_container' ), 10, 2 );
}
}
Expand full source code Collapse full source code View on Trac