Skip to main content
corrected formating
Source Link
fischi
  • 7.6k
  • 2
  • 29
  • 44

Need help with a function that will limit upload for non admins:

  1. Check before upload if file is jpg, jpeg.
  2. Check before upload if picture is not bigger than 700kb.
  3. Limit uploaded files to 7 per normal user wordpressWordPress account.

I was searching for plugin or function that will be able to do this but no luck :(

Is it even possible to check the file before upload in wordpress?

Need a function that will limit upload for non admins:

  1. Check before upload if file is jpg, jpeg.
  2. Check before upload if picture is not bigger than 700kb.
  3. Limit uploaded files to 7 per normal user wordpress account.

I was searching for plugin or function that will be able to do this but no luck :(

Is it even possible to check the file before upload in wordpress?

Need help with a function that will limit upload for non admins:

  1. Check before upload if file is jpg, jpeg.
  2. Check before upload if picture is not bigger than 700kb.
  3. Limit uploaded files to 7 per normal user WordPress account.

I was searching for plugin or function that will be able to do this but no luck :(

Is it even possible to check the file before upload in wordpress?

added 69 characters in body
Source Link
c64girl
  • 43
  • 2
  • 8

Need a function that will limit upload for non admins:

  1. Check before upload if file is jpg, jpeg.
  2. Check before upload if picture is not bigger than 700kb.
  3. Limit uploaded files to 7 per normal user wordpress account.

I was searching for plugin or function that will be able to do this but no luck :(

Is it even possible to check the file before upload in wordpress?

Need a function that will limit upload for non admins:

  1. Check before upload if file is jpg, jpeg.
  2. Check before upload if picture is not bigger than 700kb.
  3. Limit uploaded files to 7 per normal user wordpress account.

I was searching for plugin or function that will be able to do this but no luck :(

Need a function that will limit upload for non admins:

  1. Check before upload if file is jpg, jpeg.
  2. Check before upload if picture is not bigger than 700kb.
  3. Limit uploaded files to 7 per normal user wordpress account.

I was searching for plugin or function that will be able to do this but no luck :(

Is it even possible to check the file before upload in wordpress?

Source Link
c64girl
  • 43
  • 2
  • 8

Wordpress function: limit size, only jpg, jpeg, limit of uploaded files per account

Need a function that will limit upload for non admins:

  1. Check before upload if file is jpg, jpeg.
  2. Check before upload if picture is not bigger than 700kb.
  3. Limit uploaded files to 7 per normal user wordpress account.

I was searching for plugin or function that will be able to do this but no luck :(