WP_Media_List_Table::ajax_user_can(): bool In this article Table of ContentsReturn Source Related ↑ Back to top Return bool Source public function ajax_user_can() { return current_user_can( 'upload_files' ); } View all references View on Trac View on GitHub Related UsesDescriptioncurrent_user_can()wp-includes/capabilities.phpReturns whether the current user has the specified capability. User Contributed Notes You must log in before being able to contribute a note or feedback.
User Contributed Notes
You must log in before being able to contribute a note or feedback.