Developer Applicant Challenge​

As part of the application process, you’ve been requested to complete the following challenge.

If you have any questions please respond to the last email you received from our team.

Task: Develop a Custom WordPress Plugin

Objective: Create a “Movies” custom post type, accessible via a REST API.

Technical Requirements:

  1. Custom Post Type: “Movies”
    • The post type should have a title, a movie description, and the year it was released
    • Please provide example data for at least 20 entries
    • Add Movies as a top level menu on the backend
    • Provide a way to view a list of the movies on the backend
    • Provide a way to edit a movie on the backend
  2. API Development:
    • Make the “Movies” post type available through a REST API.
    • The API endpoint must reside at: [site url]/wp-json/herothemes/v1/movies
    • API endpoint to read all movies
    • API endpoint to read a single movie with the relevant data given
    • All these API endpoints should only be accessible by logged in users.
    • Non logged in users should not be able to access these endpoints.

Additional Guidelines:

  • Ensure to properly escape, sanitize, and validate data in each step as appropriate using built in PHP and WordPress functions.
  • Ensure all user facing strings/text are translatable.
  • The code you submit should not be built with/by/from nor use boilerplate templates/libraries/code.
  • Use modern PHP approaches/architecture (example: OOP, autoloading, PSR4, Composer, etc).
  • Your submission should be a fully functional WordPress plugin meeting the requirements listed above.
  • Do not rush! Your code will be used to gauge your abilities and your attention to detail (one of our core values).
Please enable JavaScript in your browser to complete this form.
Click or drag a file to this area to upload.
Please upload your code a ZIP file.
If the code is hosted on GitHub or a similar platform, this allows for easy access and review.
Add any additional comments about your challenge submission