FREELessons: 11Length: 1.5 hours

Next lesson playing in 5 seconds

Cancel
  • Overview
  • Transcript

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.