Think I'm missing something with mb-user-meta.

Support MB User Meta Think I'm missing something with mb-user-meta.Resolved

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #32440
    maybeadevmaybeadev
    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?

    #32441
    maybeadevmaybeadev
    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
    maybeadevmaybeadev
    Participant

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

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