• The help tab it’s not working with the new WordPress Version. I added this:

    $hook = 'users_page_extra_user_details';
    $screen = WP_Screen::get($hook);
    $id = 'extra_user_details_help_id';
    $title = "Extra User Details";
    $callback = false;
    $screen->add_help_tab( array(
       'id' => $id, //unique id for the tab
       'title' => $title, //unique visible title for the tab
       'content' => $help, //actual help text
       'callback' => $callback //optional function to callback
    ) );

    Instead of:

    add_contextual_help( 'users_page_extra_user_details', $help );

    http://wordpress.org/extend/plugins/extra-user-details/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi jeffecame and Vadimk,

    Edited code above to also support pre-3.3 installations.

    $hook = 'users_page_extra_user_details';
      $screen = WP_Screen::get($hook);
      if ( method_exists( $screen, 'add_help_tab' ) ) {
        // WordPress 3.3
        $id = 'extra_user_details_help_id';
        $title = "Extra User Details";
        $callback = false;
        $screen->add_help_tab( array(
          'id' => $id, //unique id for the tab
          'title' => $title, //unique visible title for the tab
          'content' => $help, //actual help text
          'callback' => $callback //optional function to callback
        ) );
      } else {
        // WordPress 3.2
        add_contextual_help( 'users_page_extra_user_details', $help );
      }

    In the original file replace the line containing add_contextual_help() with above code.

    Thank u very much joostdekeijzer

    hi, i just want to know how many extra details can be added? i use another custom user meta plugin but this plugin is more “clean” in the database(wp_usermeta), but i introduce a lot of extra details, almost 1050 extra fields is whta i need, can this be done with this plugin?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Extra User Details] Help Tab in new Versions’ is closed to new replies.