Forums

[resolved] Output string to page / post (3 posts)

  1. stackemedia
    Member
    Posted 3 years ago #

    Hi,

    I've been writing a plug-in that will be required to output a string into a page. What I want to do it allow them to type something like "[getmystring]" into the page and that would then call the function that returns the string.

    I've seen this done with plug-ins like "Contact Form 7". Can anyone direct me to a page or provide some tips on how to do this?

    I did do numerous google searches, but often I come accross actual plug-ins, rather than the reference material I need.

    Much appreciated.

    Thanks,
    Henrik

  2. MichaelH
    Member
    Posted 3 years ago #

    See if this helps:
    Shortcode_API

  3. stackemedia
    Member
    Posted 3 years ago #

    Ace - exactly what I was looking for! Just didn't know what to search for.

    Thanks Michael

Topic Closed

This topic has been closed to new replies.

About this Topic