Skip to content
ClanbiteDevelopers
GuidesReferenceREST APIReleases
Clanbite.com

Reference

  • Hooks598
  • Functions491
  • Classes133
  • Methods1,439
  • REST API88
  • Blocks58
  • Abilities22
  • Settings12
  • Messages60
  • Components9
  • Database tables20
  • Releases
  1. Home
  2. Reference
  3. Hooks
  4. clanbite_social_kit_register_feed_contexts

Clanbite Social Kit Social

do_action( 'clanbite_social_kit_register_feed_contexts' )

Register third-party feed contexts.

Call Feed_Context_Registry::register() (or clanbite_social_kit_register_feed_context()) from here. Runs once per request, the first time any feed context is needed (block render, REST, editor).

Action PHP

Parameters

No arguments.

Example

add_action( 'clanbite_social_kit_register_feed_contexts', function () {
	// Run your code.
}, 10, 0 );

Defined in inc/Social/Feed_Context_Registry.php

In this article

  • Parameters
  • Example
  • View as Markdown
  • Back to top
Generated from the source of every Clanbite release. Something missing or unclear? It is fixed in the code and appears here with the next release.Clanbite.com