public function addWordPressBindings($route)
    {
        global $post, $wp_query;

        foreach (compact('post', 'wp_query') as $key => $value) {
            $route->setParameter($key, $value);
        }

        return $route;
    }