AnsPress_Notification_Hook::ap_user_pages()

Description #

Adds reputations tab in AnsPress authors page.

Source #

File: addons/free/notification.php

	public static function ap_user_pages() {
		anspress()->user_pages[] = array(
			'slug'    => 'notifications',
			'label'   => __( 'Notifications', 'anspress-question-answer' ),
			'count'   => ap_count_unseen_notifications(),
			'icon'    => 'apicon-globe',
			'cb'      => [ __CLASS__, '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