Astra_Meta_Boxes::is_bb_themer_layout()

Check if layout is bb themer’s layout


Description


Source

File: inc/metabox/class-astra-meta-boxes.php

		public static function 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.