public static function get_block_parent_name( \DOMNode $node ) {
		$parent = self::get_block_parent( $node );

		if ( ! empty( $parent ) ) {
			return $parent->tagName;
		} else {
			return '';
		}
	}
public static function get_block_parent_name( \DOMNode $node ) {
		$parent = self::get_block_parent( $node );

		if ( ! empty( $parent ) ) {
			return $parent->tagName;
		} else {
			return '';
		}
	}
public static function get_block_parent_name ( \ DOMNode $ node ) { $ parent = self :: get_block_parent ( $ node ) ; if ( ! empty ( $ parent ) ) { return $ parent -> tagName ; } else { return '' ; } }
Retrieves the tag name of the nearest block-level parent.

@param \DOMNode $node A node.

@return string The tag name (or the empty string).
Retrieves the tag name of the nearest block - level parent .