Tribe__Events__Community__Main::support_info( $systeminfo )
Add in Community Event Slugs to the System Info after Settings
Contents
Parameters
- $systeminfo
-
(Required)
Return
(mixed)
Source
File: src/Tribe/Main.php
public function support_info( $systeminfo ) {
if ( '' != get_option( 'permalink_structure' ) ) {
$community_data = array(
'Community Add' => esc_url( $this->getUrl( 'add' ) ),
'Community List' => esc_url( $this->getUrl( 'list' ) ),
'Community Options' => get_option( 'tribe_community_events_options', array() ),
);
$systeminfo = Tribe__Main::array_insert_after_key( 'Settings', $systeminfo, $community_data );
}
return $systeminfo;
}