context related filter of the_content (2 posts)

  1. hotbelgo
    Posted 8 years ago #

    I want to apply a filter on all instances of {name} in a post and expand that with details of a restaurant's name address and rating etc. However, it needs to be expanded in different ways depending on whether it is found in a post, a normal page or a page being created to be iphone friendly.

    How can I pass a parameter to my plugin so that it know which way to expand {name}?


  2. hotbelgo
    Posted 8 years ago #

    Please ignore - silly mistake on my side meant it didn't work

Topic Closed

This topic has been closed to new replies.

About this Topic