Controller::remove_filters()
Removes registered filters.
Source
File: src/Events/Editor/Full_Site/Controller.php
public function remove_filters() {
remove_filter( 'get_block_templates', [ $this, 'filter_include_templates' ], 25 );
remove_filter( 'get_block_template', [ $this, 'filter_include_template_by_id' ], 10 );
remove_filter( 'tribe_get_option_tribeEventsTemplate', [ $this, 'filter_events_template_setting_option' ] );
remove_filter( 'tribe_get_single_option', [ $this, 'filter_tribe_get_single_option' ], 10 );
remove_filter( 'tribe_settings_save_option_array', [ $this, 'filter_tribe_save_template_option' ], 10 );
remove_filter( 'archive_template_hierarchy', [ $this, 'filter_archive_template_hierarchy' ], 10 );
remove_filter( 'single_template_hierarchy', [
$this,
'filter_single_template_hierarchy'
], 10 );
}
Changelog
| Version | Description |
|---|---|
| 6.2.7 | Introduced. |