30-50% off hundreds of digital assets! WordPress themes, video, music and more 30-50% Off Go to Sale
by
Lessons:11Length:1.5 hours

4.5 Validating Uploads

In this final lesson on developing our plugin, we implement the following:

  • When users attempt to upload a non-MP3 file, the file is rejected.
  • If an error message is displayed, we make sure it’s themed natively with the dashboard.
  • When there’s an invalid file, we won’t display the link on the single post page.

Once that's all done, we'll review all of the source code for our plugin.