<?php
/**
 * Template part for displaying site header content
 *
 * @package errigal
 * @since 1.1.0
 */

defined( 'ABSPATH' ) || exit;

use Errigal\Constant\Errigal_Header_Hook as Header_Hook;
use Errigal\Shared\Errigal_Validator as Validator;

/**
 * Filters site header content template part slug.
 *
 * @since 1.2.0
 *
 * @param string $site_header_content_template_part_slug Slug name for site header content.
 */
$site_header_content_template_part_slug = apply_filters(
	Header_Hook::SITE_HEADER_CONTENT_TEMPLATE_PART_SLUG,
	'template-parts/component/header/site-header/inner-content'
);

if ( ! Validator::is_non_empty_string( $site_header_content_template_part_slug ) ) {
	return;
}

get_template_part( $site_header_content_template_part_slug );
