Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

How to Invoke / trigger Snippets

$
0
0

Replies: 0

Seems like everyone but me understands this. Sorry I’m a newbie. Question is once I’ve created the Snippet, using this plugin, how to I invoke it from a WP web page so that the code executes? In a shortcode?

I have a small form on the page. Three fields and a submit button (POST method). When the button is clicked, the form is submitted back to itself (or is there a better way), and in that process, I’d like for this snippet code to run. I just can’t figure out how the snippet code is invoked/triggered. And if it is through shortcode, what the syntax is that goes into the shortcode field, and where on the page the shortcode field is to be placed. My snipped is named “send_sms_message”. fyi

Thanks so much for any help.


Viewing all articles
Browse latest Browse all 59525

Trending Articles