latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

s2Member PHP calls with 3rd Party Plugin

Home Forums Community Forum s2Member PHP calls with 3rd Party Plugin

This topic contains 1 reply, has 1 voice. Last updated by  Fred Voetsch 3 years, 2 months ago.

Topic Author Topic
Posted: Saturday Oct 26th, 2013 at 12:14 am #60623

I have just installed a plugin that allows me to write snippets of PHP that can be executed on a page or post by using an associated shortcode.

The plugin is “PHP Code for posts” v1.1.3 By The Missing Code
http://wordpress.org/plugins/php-code-for-posts/

This works great but it does not work with any of the PHP I find at
http://www.s2member.com/codex/stable/s2member/api_functions/package-functions/

I assume that I have to hook into the s2member functions somehow but I do not understand s2member and WordPress well enough to be able to figure this out on my own. Seems like it should be a simple require or include like…

require(‘s2member.php’);

…but I’m guessing that with WordPress it will not be that simple….

Thanks to anyone who can help.

List Of Topic Replies

Viewing 1 replies (of 1 total)
Author Replies
Author Replies
Posted: Saturday Oct 26th, 2013 at 1:48 am #60624

I found the answer, and that was to swicth over to the PHP Execution plugin at
http://wordpress.org/plugins/php-execution-plugin/

…works like a charm.

Viewing 1 replies (of 1 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.