Custom Fields
Re-Envisioned
Support MB User Meta Think I'm missing something with mb-user-meta.

  • Creator
    Topic
  • #32440
    Resolved elindydotcom
    Participant

    I have the following code hooked into the rwmb_meta_boxes filter.

         $meta_boxes[] = array(
                'title'  => 'Max Things',
                'type'   => 'user', // THIS: Specifically for user.
                'fields' => array(
                    array(
                        'name' => 'Max thingsAllowed',
                        'id'   => 'max_things_allowed',
                        'type' => 'number',
                    ),
                ),
            );
    
            return $metaboxes;

    However, it's not showing up on the WP user profile screen in wp-admin. So I think I'm missing something very fundamental.

    The mb-user-meta add-on is activated. I even tried activating the mb-user-profile add-on.

    Ideas?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #32441
    elindydotcom
    Participant

    I should mention that other metaboxes showup in their respective post types - even SETTINGS. It's just the user profile that isn't working for some reason.

    Thanks.

    #32445
    elindydotcom
    Participant

    Actually, I figured it out. Gah.
    This was definitely user error.
    You can close this topic.
    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.