jika gutenberg page php wp

function is_gutenberg() {
		
		global $post;
		
		if ( function_exists( 'has_blocks' ) && has_blocks( $post->ID ) ) {
			return true;
		} else {
			return false;
		}
	}
Andrew Lautenbach