Question
Only administrators can upload images to the site. EDIT: However, the author can create a page and when he creates it, I want to allow him to upload, but only then. function tomjn_only_upload_for_admin( $file ) { if ( ! current_user_can( 'manage_options' ) ) {
0
Olvas0 1 month 0 Answers 0 views