Notifications::ap_user_pages()

Description #

Adds reputations tab in AnsPress authors page.

Source #

File: addons/notifications/notifications.php

	public function ap_user_pages() {
		anspress()->user_pages[] = array(
			'slug'    => 'notifications',
			'label'   => __( 'Notifications', 'anspress-question-answer' ),
			'count'   => ap_count_unseen_notifications(),
			'icon'    => 'apicon-globe',
			'cb'      => array( $this, 'notification_page' ),
			'private' => true,
		);
	}

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