Tribe__Events__Community__Main::doSettings()
Add a settings tab.
Additionally sets up a filter to append information to the existing events template setting tooltip.
Return
(void)
Source
File: src/Tribe/Main.php
public function doSettings() { require_once $this->pluginPath . 'src/admin-views/community-options-template.php'; new Tribe__Settings_Tab( 'community', __( 'Community', 'tribe-events-community' ), $communityTab ); add_filter( 'tribe_field_tooltip', array( $this, 'amend_template_tooltip' ), 10, 3 ); }
Changelog
Version | Description |
---|---|
1.0 | Introduced. |