Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End WordPress: How do I call a function in my plugin?

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #152143
    martin21
    Participant

    Hi guys,

    I am working on my first wordpress plugin and can’t figure out how to call a function in my plugin file from my template. In my plugin file I have a function called wa_banner_show which I am trying to call in my index.php like this:

    Just to see if it works, the function currently isn’t supposed to do anything except:

    function wa_banner_show( $theArgs ) {
    echo “Function test…”;
    }

    However, if I try it like this, nothing at all happens.

    Really appreciate your help!

    Regards

    Martin

Viewing 1 post (of 1 total)
  • The forum ‘Back End’ is closed to new topics and replies.