Reputation::ap_user_pages()

Description #

Adds reputations tab in AnsPress authors page.

Source #

File: addons/reputation/reputation.php

492
493
494
495
496
497
498
499
500
public function ap_user_pages() {
    anspress()->user_pages[] = array(
        'slug'  => 'reputations',
        'label' => __( 'Reputations', 'anspress-question-answer' ),
        'icon'  => 'apicon-reputation',
        'cb'    => array( $this, 'reputation_page' ),
        'order' => 5,
    );
}

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Add your comment