Support » Plugin: Ultimate Member – User Profile, User Registration, Login & Membership Plugin » How can I add ‘Drafts’ menu on profile page?

  • and show drafts on that tab?

    I added this on um-user-posts.php and
    $tabs[‘drafts’] = array(
    ‘name’ => __(‘Drafts’,’ultimatemember’),
    ‘icon’ => ‘um-faicon-plus’,
    );
    and
    /***
    *** @add drafts
    ***/
    function add_drafts() {
    global $ultimatemember;
    $ultimatemember->shortcodes->load_template(‘profile/drafts.php’);

    }
    and I added codes for calling drafts So I see ‘Drafts’ tab name but I cant see anything in that tab.
    Can you help me?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How can I add ‘Drafts’ menu on profile page?’ is closed to new replies.