Source
public function ajax_user_can() {
return current_user_can( get_taxonomy( $this->screen->taxonomy )->cap->manage_terms );
}
CARVIEW |
public function ajax_user_can() {
return current_user_can( get_taxonomy( $this->screen->taxonomy )->cap->manage_terms );
}
Uses | Description |
---|---|
current_user_can()wp-includes/capabilities.php | Returns whether the current user has the specified capability. |
get_taxonomy()wp-includes/taxonomy.php | Retrieves the taxonomy object of $taxonomy. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.