Block::slug()
Plugin: Event Tickets
Method: Which is the name/slug of this block
Namespace:
TEC\Tickets\Blocks\Ticket
Plugin: Event Tickets
Method: Which is the name/slug of this block
Namespace:
TEC\Tickets\Blocks\Ticket
Plugin: Event Tickets
Method: Since we are dealing with a Dynamic type of Block we need a PHP method to render it
Namespace:
TEC\Tickets\Blocks\Ticket
Plugin: Event Tickets
Method: Which is the name/slug of this block
Plugin: Event Tickets
Method: Since we are dealing with a Dynamic type of Block we need a PHP method to render it
Plugin: Event Tickets
Method: Return if the classic editor is active on the post.
Plugin: Event Tickets
Method: Detect if the Checkbox to have early access to the blocks is enabled
Plugin: Event Tickets
Method: Function called by `load-post.php` action when the editor screen is loaded, insert a new meta field value as a flag into the post / event if the classic editor is displayed and has blocks in case it has blocks to trigger a new action `tribe_tickets_update_blocks_from_classic_editor`
Plugin: Event Tickets
Action Hook: Fire an action to update the blocks associated with a post
Plugin: Event Tickets
Method: Update tickets blocks when the action: `tribe_tickets_update_blocks_from_classic_editor` is fired. When this action is fired couple of actions happens:
Plugin: Event Tickets
Method: Return an array with all the tickets as a group of items in an array as strings as blocks formats ready to be inserted into the post_content of a post