WordPress.org

Ready to get started?Download WordPress

Forums

filter: add variables to all links (2 posts)

  1. fpanko
    Member
    Posted 8 years ago #

    Does anyone know where I can find more information on this?

    I need a way to add a couple extra variables to all the non-rss links in the site. I figured it could probably be done with a filter, but I haven't been able to find any documentation on it.

    The main thing I need to do is tack on a session variable. SO my links to category pages would look like: mysite.com?cat=12&session_id=1234567890

  2. lee_k
    Member
    Posted 8 years ago #

    I'm after a way to do something similar.

    I want to add an extra variable to the category urls when a plugin is called. 'list_cats' seems the closest filter, but that only accesses the category names, not urls.

    Can anyone help?

Topic Closed

This topic has been closed to new replies.

About this Topic