Tribe__Events__Main::tribe_settings_url( string $url )
When TEC is activated, the Events top level menu item in the dashboard needs the post_type appended to it
Contents
Parameters
- $url
-
(string) (Required) Settings URL to filter
Return
(string)
Source
File: src/Tribe/Main.php
public function tribe_settings_url( $url ) {
if ( is_network_admin() ) {
return $url;
}
return add_query_arg( array( 'post_type' => self::POSTTYPE ), $url );
}