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 );
		}
	}

User Contributed Notes

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