Schema - Source Excerpt 02
Summary
This source excerpt preserves a bounded section of 2IA.org/wp-content/themes/twoia-intelligence/inc/schema.php so readers can inspect the evidence without opening the full source file.
**Source path:** 2IA.org/wp-content/themes/twoia-intelligence/inc/schema.php
$breadcrumb = twoia_get_breadcrumb_schema();
if ( $breadcrumb ) {
$graph[] = $breadcrumb;
}
$schema = array(
'@context' => 'https://schema.org',
'@graph' => $graph,
);
?>
<script type="application/ld+json"><?php echo wp_json_encode( $schema, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE | JSON_HEX_TAG | JSON_HEX_AMP | JSON_HEX_APOS | JSON_HEX_QUOT ); ?></script>
<?php
}
add_action( 'wp_head', 'twoia_output_schema', 20 );