<?php

namespace WPEventGenius\Common\SEO\Compatibility;

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

interface SEOCompatibilityInterface {

	/**
	 * Whether this SEO integration can render breadcrumbs.
	 *
	 * @return bool
	 */
	public function is_available();

	/**
	 * Render breadcrumbs markup.
	 *
	 * @param int   $post_id Breadcrumb context post ID.
	 * @param array $breadcrumb_context Additional breadcrumb rendering context.
	 * @return string
	 */
	public function render( $post_id, array $breadcrumb_context = array() );
}
