WP_Terms_List_Table::ajax_user_can

Advertisement

Syntax Syntax

WP_Terms_List_Table::ajax_user_can()

Return Return

(bool)

Source Source

File: wp-admin/includes/class-wp-terms-list-table.php

	public function ajax_user_can() {
		return current_user_can( get_taxonomy( $this->screen->taxonomy )->cap->manage_terms );
	}

Advertisement

Advertisement

Leave a Reply

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