Forums

[Plugin: Twitter Tools] How to make a twitter tools plugin reuse another plugin? (1 post)

  1. leonardof
    Member
    Posted 2 years ago #

    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!

    http://wordpress.org/extend/plugins/twitter-tools/

Topic Closed

This topic has been closed to new replies.

About this Topic