Membership Plugin

WordPress Membership Plugin

  • Home
  • Documentation
  • Addons
  • Support
    • Quick Setup
    • Documentation
    • Premium Addon Support
    • Paid Support
    • Support Forum
    • Support Forum Search
    • Forum Login
    • Forum Registration
  • Contact

Call to undefined method SwpmMemberUtils::get_member_field_by_id

Simple Membership Plugin › Forums › Simple Membership Plugin › Call to undefined method SwpmMemberUtils::get_member_field_by_id

Tagged: get_member_field_by_id

  • This topic has 3 replies, 2 voices, and was last updated 11 years, 1 month ago by mbrsolution.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • October 12, 2015 at 11:30 am #3484
    siteadvice
    Participant

    I attempted to use the function get_member_field_by_id described here but it just returns an error:

    Call to undefined method SwpmMemberUtils::get_member_field_by_id

    Having searched the plugin code, I can’t see any reference to get_member_field_by_id – is this a premium function or perhaps a deprecated function?

    Thanks,

    Jon

    October 12, 2015 at 12:39 pm #3486
    mbrsolution
    Moderator

    Hi Jon, where did you add the function?

    October 12, 2015 at 1:16 pm #3487
    siteadvice
    Participant

    Hi there,

    Thanks for replying.

    I tried it in header.php and also in a page template.

    Jon

    October 12, 2015 at 8:45 pm #3489
    mbrsolution
    Moderator

    The code needs to be added to a Theme template. This template must be used by your post or page for the php code to work.

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Log In

Please read this message before using our plugin.

Search

Featured Addons and Extensions

  • Membership Form Builder Addon
  • Member Directory Listing Addon
  • WooCommerce Payment Integration
  • Member Data Exporter Addon

Documentation

  • Documentation Index Page

Copyright © 2026 | Simple Membership Plugin | Privacy Policy