• Home
  • Knowledgebase
  • DevDocs
  • Translations
  • Support
  • Live Preview

logo DevDocs

By The Events Calendar
Filter by type:
Skip to content
Filter by type:
Search
Browse: Home / 4.6.2

Tribe__Events__Pro__Editor__Blocks__Related_Events::render()

Plugin: The Events Calendar PRO

Method: Since we are dealing with a Dynamic type of Block we need a PHP method to render it

Tribe__Events__Pro__Editor__Blocks__Related_Events::assets()

Plugin: The Events Calendar PRO

Method: Register the Assets for when this block is active

Tribe__Events__Pro__Editor__Blocks__Related_Events::slug()

Plugin: The Events Calendar PRO

Method: Which is the name/slug of this block

Tribe__Events__Pro__Editor__Blocks__Related_Events::default_attributes()

Plugin: The Events Calendar PRO

Method: Set the default attributes of this block

Tribe__Events__Pro__Editor::add_related_events_in_editor()

Plugin: The Events Calendar PRO

Method: Filters and adds the related events block into the default classic blocks

The Events Calendar
  • Home
  • Products
  • Blog
  • Support
© 2026 The Events Calendar Terms and Conditions Privacy