Categories::admin_category_menu()

Description #

Add category menu in wp-admin.

Changelog #

VersionDescription
4.2.0Renamed menu from "Category".
2.0Introduced.

Source #

File: addons/categories/categories.php

	public function admin_category_menu() {
		add_submenu_page( 'anspress', __( 'Question Categories', 'anspress-question-answer' ), __( 'Question Categories', 'anspress-question-answer' ), 'manage_options', 'edit-tags.php?taxonomy=question_category' );
	}

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