Clanbite Social Kit Social

apply_filters( 'clanbite_social_kit_feed_contexts', array<string, Feed_Context> $contexts )

Filter the final list of feed contexts.

Use this to adjust or remove a context; to add one, prefer the clanbite_social_kit_register_feed_contexts action.

Filter PHP

Parameters

$contexts (array<string, Feed_Context>)

Registered contexts by slug.

Example

add_filter( 'clanbite_social_kit_feed_contexts', function ( $contexts ) {
	// Change $contexts here.
	return $contexts;
}, 10, 1 );

Defined in inc/Social/Feed_Context_Registry.php