# Community Events | TEC Tech Docs
Source: https://docs.theeventscalendar.com/product/events-community/

# Tribe__Events__Community__Plugin_Register::add_tec_tickets_as_dependency_if_active()

Plugin: Community Events

Method: Add Event Tickets dependency if it’s active.

# Blocks::tribe_events_editor_default_classic_template()

Plugin: Community Events

Method: Filters and adjusts the template array for classic templates.

Namespace:
TEC\Events_Community\Block_Conversion

```
TEC\Events_Community\Block_Conversion
```

# Blocks::tribe_blocks_editor_update_classic_content()

Plugin: Community Events

Method: Removes specified blocks from the provided content.

Namespace:
TEC\Events_Community\Block_Conversion

```
TEC\Events_Community\Block_Conversion
```

# Blocks::is_community_event_post()

Plugin: Community Events

Method: Checks the origin of the given event post or post ID.

Namespace:
TEC\Events_Community\Block_Conversion

```
TEC\Events_Community\Block_Conversion
```

# Blocks

Plugin: Community Events

Class: Used for Block logic when creating or editing an event.

Namespace:
TEC\Events_Community\Block_Conversion

```
TEC\Events_Community\Block_Conversion
```

# Blocks::tec_ce_remove_blocks_on_edit()

Plugin: Community Events

Method: Grab the original content for the content editor.

Namespace:
TEC\Events_Community\Block_Conversion

```
TEC\Events_Community\Block_Conversion
```

# Blocks::extract_block_text()

Plugin: Community Events

Method: Takes the content with block editor markup and tries to filter out the main content to display on the submit event page.

Namespace:
TEC\Events_Community\Block_Conversion

```
TEC\Events_Community\Block_Conversion
```

# Blocks::tec_ce_convert_content_to_blocks()

Plugin: Community Events

Method: Convert the submitted event data to blocks.

Namespace:
TEC\Events_Community\Block_Conversion

```
TEC\Events_Community\Block_Conversion
```

# Blocks::remove_wp_block_classes_and_clean()

Plugin: Community Events

Method: Removes empty HTML elements and elements with classes starting with ‘wp-block-‘ but preserves their inner content,  tags, and whitespace.

Namespace:
TEC\Events_Community\Block_Conversion

```
TEC\Events_Community\Block_Conversion
```

# Blocks::reverse_wpautop()

Plugin: Community Events

Method: Reverses the effects of wpautop by converting HTML paragraph and break tags back into plain text line breaks.

Namespace:
TEC\Events_Community\Block_Conversion

```
TEC\Events_Community\Block_Conversion
```
