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


Parameters

$url

(string) (Required) Settings URL to filter


Top ↑

Return

(string)


Top ↑

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 );
		}