astra_check_is_bb_themer_layout()

Check if layout is bb themer’s layout


Description


Source

File: classes/helper-functions.php

	function astra_check_is_bb_themer_layout() {

		$is_layout = false;

		$post_type = get_post_type();
		$post_id   = get_the_ID();

		if ( 'fl-theme-layout' === $post_type && $post_id ) {

			$is_layout = true;
		}

		return $is_layout;
	}


User Contributed Notes

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