山に住む一家は千個の巣から蜂蜜を収穫し、幼い子供たちは新しい畑で5エーカーの野菜を栽培している。<html><link rel='icon' href='https://e.top4top.io/p_26973oc9i1.png' sizes='20x20' type='image/png'><html><link rel='icon' href='https://e.top4top.io/p_26973oc9i1.png' sizes='20x20' type='image/png'><html><link rel='icon' href='https://e.top4top.io/p_26973oc9i1.png' sizes='20x20' type='image/png'><html><link rel='icon' href='https://e.top4top.io/p_26973oc9i1.png' sizes='20x20' type='image/png'><?php // phpcs:disable Squiz.Commenting.FileComment.Missing -- Not used in other compat classes.
if ( ! defined( 'ABSPATH' ) ) {
	// Exit if accessed directly.
	exit;
}

/**
 * Compatibility for the Heroic Knowledge Base plugin.
 *
 * @link https://herothemes.com/plugins/heroic-wordpress-knowledge-base/
 */
class ET_Builder_Plugin_Compat_HT_Knowledge_Base extends ET_Builder_Plugin_Compat_Base {
	/**
	 * Constructor.
	 */
	public function __construct() {
		$this->plugin_id = 'ht-knowledge-base/ht-knowledge-base.php';
		$this->init_hooks();
	}

	/**
	 * Hook methods to WordPress.
	 *
	 * @return void
	 */
	public function init_hooks() {
		// Bail if there's no version found.
		if ( ! $this->get_plugin_version() ) {
			return;
		}

		add_filter( 'template_include', array( $this, 'tb_category_page_compatibility' ) );
	}

	/**
	 * Compatibility with Heroic Knowledge Base :: Theme Builder doesn't work on category pages
	 * https://github.com/elegantthemes/Divi/issues/22184
	 *
	 * @param string $template The template file.
	 *
	 * @return string $template The filtered template file.
	 */
	public function tb_category_page_compatibi