Clanbite Social Kit

localize_feed_contexts_for_editor(  ): void

Give the block editor the list of registered feed contexts (bundled and third-party).

The Social feed and Social composer blocks build their "Feed source" select from window.clanbiteSocialKitFeedContexts, so a context registered with \Kernowdev\ClanbiteSocialKit\Social\Feed_Context_Registry::register() appears in the editor without any editor JavaScript.

public

Class: Kernowdev\ClanbiteSocialKit\Extension\Social_Kit

Returns

void

Defined in inc/Extension/Social_Kit.php