WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

So I'm trying to create some custom fields for users. I need to give users access to a 30 day trial of some software and I want to keep track of that in the users page of administration panel. If the user is in the trail I want to add "Trial" at the top and "Yes" or "No" next to the username on the All Users page. I'm assuming this would be a core file somewhere, but I'm not sure which one.

share|improve this question
Don't ever edit core files :( – helenhousandi Feb 20 '12 at 23:52
up vote 3 down vote accepted

You can hook manage_users_columns to add (and I suppose remove) columns from the All users display. This tutorial details that.

You might be able to hook user_edit_form_tag to do the trial vs not trial at the top...but I'm not sure, you'd have to tinker with it. I think you'll probably end up having to use something else (WP_Error might be a good way to go), but that would be where I started.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.