wordpress/wp-content/themes/basic/themify/themify-builder/classes/class-themify-builder.php
/**
		 * Check Builder can edit current post or not
         * If yes return the post id, otherwise return false
		 */
Check Builder can edit current post or not
If yes return the post id, otherwise return false
Check Builder can edit current post or not If yes return the post id otherwise return false
public static function builder_is_available() {
			$isAvailable=true;
			$post_id=false;
			if(themify_is_shop()){
				$post_id=themify_shop_pageId();
			}
			else{
				$isAvailable=Themify_Builder_Model::is_frontend_editor_page() && !is_archive() && !is_home() && !is_search() && !is_404();
				if($isAvailable===true){
					$p=get_queried_object(); 
					$post_id=isset( $p->ID ) ? $p->ID : false;
					unset( $p );
				}
			}
			if($isAvailable===true && ( !$post_id || !current_user_can( 'edit_post',$post_id ) )){
				return;
			}
			$isAvailable = apply_filters( 'themify_builder_admin_bar_is_available',$isAvailable );
			return $isAvailable?$post_id:false;
		}
public static function builder_is_available ( ) { $ isAvailable = true ; $ post_id = false ; if ( themify_is_shop ( ) ) { $ post_id = themify_shop_pageId ( ) ; } else { $ isAvailable = Themify_Builder_Model :: is_frontend_editor_page ( ) && ! is_archive ( ) && ! is_home ( ) && ! is_search ( ) && ! is_404 ( ) ; if ( $ isAvailable === true ) { $ p = get_queried_object ( ) ; $ post_id = isset ( $ p -> ID ) ? $ p -> ID : false ; unset ( $ p ) ; } } if ( $ isAvailable === true && ( ! $ post_id || ! current_user_can ( 'edit_post' , $ post_id ) ) ) { return ; } $ isAvailable = apply_filters ( 'themify_builder_admin_bar_is_available' , $ isAvailable ) ; return $ isAvailable ? $ post_id : false ; }
Check Builder can edit current post or not
 If yes return the post id, otherwise return false
Check Builder can edit current post or not If yes return the post id otherwise return false
//get_the_ID can back wrong post id