Astra_Builder_Helper::is_row_empty( string $row = 'primary', string $builder_type = 'header', string $device = 'desktop' )

Check if row is empty.


Description


Parameters

$row

(string) (Optional) row.

Default value: 'primary'

$builder_type

(string) (Optional) the type of the builder.

Default value: 'header'

$device

(string) (Optional) Device.

Default value: 'desktop'


Return

(bool)


Source

File: inc/core/builder/class-astra-builder-helper.php

	public static function is_row_empty( $row = 'primary', $builder_type = 'header', $device = 'desktop' ) {
		if ( false === self::has_center_column( $row, $builder_type, $device ) && false === self::has_side_columns( $row, $builder_type, $device ) ) {
			return false;
		}
		return true;
	}


User Contributed Notes

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