Clanbite Forums Forums

apply_filters( 'clanbite_forums_seo_graph', array<int, array<string, mixed>> $graph, array{ forum: string, topic: string, reply: int } $segments )

Filter JSON-LD @graph nodes for the current forums view.

Filter PHP

Parameters

$graph (array<int, array<string, mixed>>)

Nodes.

$segments (array{ forum: string, topic: string, reply: int })

Route segments.

Example

add_filter( 'clanbite_forums_seo_graph', function ( $graph, $segments ) {
	// Change $graph here.
	return $graph;
}, 10, 2 );

Defined in inc/Forums/Front_Seo.php