Astra_Beaver_Themer::builder_template_content_layout( string $layout )

Builder Template Content layout set as Full Width / Stretched


Description


Parameters

$layout

(string) (Required) Content Layout.


Return

(string)


Source

File: inc/compatibility/class-astra-beaver-themer.php

		public function builder_template_content_layout( $layout ) {

			$ids       = FLThemeBuilderLayoutData::get_current_page_content_ids();
			$post_type = get_post_type();

			if ( 'fl-theme-layout' == $post_type ) {
				remove_action( 'astra_entry_after', 'astra_single_post_navigation_markup' );
			}

			if ( empty( $ids ) && 'fl-theme-layout' != $post_type ) {
				return $layout;
			}

			return 'page-builder';
		}

Changelog

Changelog
Version Description
1.0.2 Introduced.

User Contributed Notes

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