"https://schema.org", "@type" => esc_html($schema_type), "headline" => wp_strip_all_tags(get_the_title()), "datePublished" => get_the_date('c'), "author" => [ "@type" => "Person", "name" => wp_strip_all_tags(get_the_author()) ] ]; echo ''; });