aioseo_schema_output, $schema[@graph]
aioseo_schema_output, $schema[@graph]
Appears in: all-in-one-seo-pack.5.0.0.1
Hook Type: filter
Displaying hooks found in version: all-in-one-seo-pack.5.0.0.1apply_filters('aioseo_schema_output, $schema[@graph]') is found 1 times:
- /app/Common/Schema/Helpers.php line 82
* @param bool $replaceTags Whether the smart tags should be replaced. * @return string The schema as JSON. */ public function getOutput( $schema, $replaceTags = true ) { $schema['@graph'] = apply_filters( 'aioseo_schema_output', $schema['@graph'] ); $schema['@graph'] = $this->cleanAndParseData( $schema['@graph'], '', $replaceTags ); // Sort the graphs alphabetically. usort( $schema['@graph'], function ( $a, $b ) { $typeA = $a['@type'] ?? null; $typeB = $b['@type'] ?? null;