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.

Undefined function

Home Forums Community Forum Undefined function

This topic contains 1 reply, has 2 voices. Last updated by  Bruce 3 years, 8 months ago.

Topic Author Topic
Posted: Friday May 10th, 2013 at 12:29 pm #49697

Hi
Can someone tell me what’s wrong with this?



This is the error msg: “Call to undefined function get_s2member_custom_fields()”

I copied the example directly from s2.

Roger
Website manager for vetkuws

List Of Topic Replies

Viewing 1 replies (of 1 total)
Author Replies
Author Replies
Posted: Friday May 10th, 2013 at 7:10 pm #49713
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry.

It sounds like you’re calling the function either outside of WordPress, or before s2Member has loaded. Try hooking your function to the init action.

See: Knowledge Base » Hacking s2Member® Via Hooks/Filters

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.