Instead of including the post URL, shortened or not, in the twitter text, I would like to change the post URL, and then shorten it (prefereably always, not only when the post title is long).
I believe I should create a new plugin and register it as a shortenning function. This plugin would alter the URL and then pass it to the bit.ly shortenning function which is distributed with twitter tools.
But then, as I know little PHP, I'm not sure how could I do this work. How can I import a function from one plugin into another one?
Thanks in advance!