• 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 / src/Tribe/Editor/Blocks/Abstract.php

Tribe__Editor__Blocks__Abstract::get_registration_args()

Plugin: Tribe Common

Method: Allows extending blocks to modify and update the arguments used to register the block in the `register_block_type` function.

Tribe__Editor__Blocks__Abstract::get_registration_block_type()

Plugin: Tribe Common

Method: Returns the block type argument that should be used to register the block in the `register_block_type` function.

tec_block_has_block

Plugin: Tribe Common

Filter Hook: Filters whether the post has this block.

tec_block_{$block_name}_has_block

Plugin: Tribe Common

Filter Hook: Filters whether the post has this block.

Tribe__Editor__Blocks__Abstract::load()

Plugin: Tribe Common

Method: Registering the block and loading the assets and hooks should be handled separately.

Tribe__Editor__Blocks__Abstract::block_data()

Plugin: Tribe Common

Method: Returns the block data for the block editor.

tribe_block_block_data_{$this->slug()}

Plugin: Tribe Common

Filter Hook: Filters the block data for the block.

tribe_block_block_data

Plugin: Tribe Common

Filter Hook: Filters the block data.

Tribe__Editor__Blocks__Abstract::assets()

Plugin: Tribe Common

Method: Used to include any Assets for the Block we are registering

Tribe__Editor__Blocks__Abstract::hook()

Plugin: Tribe Common

Method: Attach any particular hook for the specif block.

TEC Tech Docs
Proudly powered by WordPress Theme: Product Docs.
The Events Calendar
  • Home
  • Products
  • Blog
  • Support
© 2026 The Events Calendar Terms and Conditions Privacy