Source
public function ajax_user_can() {
return current_user_can( 'install_plugins' );
}
CARVIEW |
public function ajax_user_can() {
return current_user_can( 'install_plugins' );
}
Uses | Description |
---|---|
current_user_can()wp-includes/capabilities.php | Returns whether the current user has the specified capability. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.