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.

  • 3
    Don't ever edit core files :( Feb 20, 2012 at 23:52

1 Answer 1


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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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