• Forum
  • FAQ
  • Docs
Notice: In order to post a support question you have to have an account and be logged in.
Register  or  Login
  1. Can I search for a themefuse meta value using the new WP_User_Query?

    $codex_users = new WP_User_Query( parameters )

    I want to create a list of all users with the Themfuse meta boardmember=yes

    seems like calling all 350 members and picking out the boardmembers with a foreach would be kind of slow?

    thanks,
    Tim

    twlack
    1 year ago
  2. Hi Tim,
    the details for each user that are added using the plugin are saved in wp_usermeta table. If you would like to save extract them from there this is the function that you can use:

    private function ThemeFuse_Extend_User_Profile_get_Data ( $id )
        {
          if (!isset($id)) return false;
          $meta =  get_user_meta($id,'theme_fuse_extends_user_options',TRUE);
          return $meta;
        }
    

    I don't think that WP_User_Query would work but I'm not sure about this.

    Cheers,
    Max.

    Max
    1 year ago
  3. Have you tried using the WP_User_Query? Did it work?

    tidaltides
    9 months ago

Add Reply

You must log in to post.

 

Add a new topic!

Chances are your issue is already answered, but if it’s not, you can always create a new topic.

Add new topic

Search forums

Searching for something specific? Type something and press Enter to search.