WP_Media_List_Table::ajax_user_can(): bool In this article Table of ContentsReturn Source Related Changelog Copy page View as Markdown Back to top Checks if the current user has permissions to upload files. Return bool Whether the user can upload files. 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. Changelog VersionDescription3.1.0Introduced. 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.