A good WordPress developer test is a small, paid task of two to three hours, taken from real work and scored against a written rubric. It should check four things: security (sanitizing, escaping, nonces, capability checks), whether the code uses hooks instead of editing core or theme files, performance habits, and how the person communicates. Below is a sample task brief, a scoring rubric, a code review exercise and interview questions with the answers to listen for.
Most hiring mistakes with WordPress developers aren’t about skill level. They’re about hiring someone whose habits don’t match the job: a theme customizer hired to build a plugin, or a fast builder who never escapes output. A short, well-designed WordPress developer test shows those habits before you’ve handed over access to a live site.
This guide is for business owners and agencies who are hiring. If you’re still at the stage of working out what kind of developer you need and where to find them, read my guide on how to hire a WordPress developer first. It covers scoping, profiles and process questions. This post goes deeper on the test itself: what to set, what to check and how to score it fairly.
I’ve been on both sides of these tests, so the advice below is what I’d want as a candidate and what I’d check as the one hiring.
Table of Contents
What should a WordPress developer test measure?
A WordPress developer test that only checks whether the feature works is too easy to pass. Almost anyone can make a form send an email. What separates a developer you can trust with a business site is how they made it work. I look for five things:
| What you check | Why it matters | How the test shows it |
|---|---|---|
| Security habits | Most WordPress hacks start in custom code that trusts user input | Sanitized input, escaped output, nonces, capability checks |
| The WordPress way | Code that edits core or the parent theme breaks on the next update | Hooks, a small plugin or child theme, proper enqueueing |
| Performance | Slow code on every page load costs speed and hosting | No queries in loops, assets loaded only where needed |
| Code quality | The next developer has to read it | Consistent standards, prefixed names, short comments |
| Communication | Most project problems are misunderstandings | Questions before starting, a clear handover note |
Security gets the most weight in my scoring, because a mistake there costs the most. A slow function can be fixed later. A SQL injection hole on a store can’t be undone once someone finds it.
Which WordPress coding test format should you use?
There are three common formats. Each tests something different, and the best hiring processes use two of them.
| Format | Time | Tests well | Weakness |
|---|---|---|---|
| Paid take-home task | 2 to 3 hours | Real output, habits, communication | Can be done by someone else |
| Code review exercise | 30 to 45 minutes | Security knowledge, judgment | Doesn’t show building skill |
| Live walkthrough call | 30 minutes | Understanding of their own code | Nervous people underperform |
My recommended WordPress developer test is a paid take-home task, followed by a short call where the developer walks you through what they built and why. The call covers the main weakness of take-home work. Someone who wrote the code can explain every decision in it. Someone who didn’t, can’t. For agencies hiring several developers, add the code review exercise below as a first filter, because it’s quick to run and quick to score.
How to write a fair paid WordPress developer test
A fair task is small, paid, realistic and clearly defined. Pay the developer’s normal hourly rate for the estimated time. Unpaid tests filter out experienced people, who have paying work to do, and leave you with the ones who have time to spare.
Keep it to two or three hours. Anything longer is a project, not a test. Don’t use a test to get free production work: if you plan to use the code on your site, say so and pay for it as a job.
Here’s a sample brief I’d consider fair. It’s small, but it touches forms, data, security, admin screens and output, which is most of what business-site work involves:
Task: "Quick Notice" plugin (2-3 hours, paid at your rate) Build a small WordPress plugin that: 1. Adds a settings page under Settings > Quick Notice where an administrator can enter a short notice text and a link URL, and turn the notice on or off. 2. Shows the notice at the top of every front-end page when it's on. 3. Adds a [quick_notice] shortcode that prints the same notice. Requirements: - Works on the latest WordPress and PHP 8.3. - No edits to WordPress core or the active theme. - Only administrators can change the settings. Deliver: - A zip of the plugin, or a Git repository link. - A short note: how it works, what you'd improve with more time, and any questions or assumptions. Done means: the notice can be set, shown, hidden and printed by the shortcode, and the plugin installs on a clean WordPress site.
Notice what’s not in the brief: any mention of escaping, nonces or hooks. That’s on purpose. You want to see whether the developer does those things without being told, because that’s how they’ll work on your real site.
Send the brief with a deadline (three to five days is fair for people with other work) and an invitation to ask questions. A developer who asks one or two sensible questions before starting is showing you how the real project will go.
How to score a WordPress developer test

Score every candidate against the same rubric, written down before you read any submission. It keeps you from favoring the person you liked on the first call.
| Area | Weight | Full marks look like |
|---|---|---|
| Security | 30% | Input sanitized, output escaped, nonce and capability checks on the settings save |
| WordPress approach | 25% | Settings API or a clean options form, hooks for output, nothing hard-coded into the theme |
| Works as briefed | 15% | Every “done means” item passes on a clean install |
| Performance | 10% | One option read, no queries in loops, no CSS or JS loaded where it isn’t needed |
| Code quality | 10% | Prefixed function names, consistent formatting, readable structure |
| Communication | 10% | Useful questions, a clear note, honest about what’s missing |
Set a pass line, such as 70%, and a hard rule: any serious security problem fails the test regardless of the total. That rule matters more than the exact weights.
Security checks in a WordPress developer test
You don’t need to be a developer to check the basics, because WordPress has standard function names for them. Open the plugin’s PHP files in any text editor and search for these:
- Escaping on output:
esc_html,esc_attr,esc_urlorwp_kses_postaround anything printed. WordPress’s escaping guide explains each one. - Sanitizing on input:
sanitize_text_field,esc_url_rawor asanitize_callbackon saved settings. See the sanitizing guide. - Nonces on forms:
wp_nonce_fieldwithcheck_admin_refererorwp_verify_nonce, orsettings_fieldsif they used the Settings API. WordPress’s documentation on nonces explains why. - Capability checks:
current_user_can( 'manage_options' )before saving anything. - Prepared queries: if they wrote SQL at all,
$wpdb->prepare()wherever user data is involved.
If the notice text is printed with a plain echo $text; and no escaping function anywhere, that’s a fail on this WordPress developer test, however nice the result looks. I’ve written up these habits in more detail in my guide on how to build a WordPress plugin, which you can send to candidates as a reference after the test.
Does the code use hooks the WordPress way?
The second thing I check is whether the code works with WordPress or against it. WordPress is built around hooks: actions that let code run at a certain moment, and filters that let code change data. The hooks documentation explains both. A developer who understands them never needs to touch core files or the parent theme.
In the sample WordPress developer test, good signs include:
- The notice is added with an action such as
wp_body_openorwp_footer, not pasted into a theme template. - The settings page is added with
add_options_pageon theadmin_menuaction. - Any CSS is loaded with
wp_enqueue_styleonwp_enqueue_scripts, not printed as a raw style tag in the header. - Function names, option names and the shortcode handler use a unique prefix, so they won’t clash with other plugins.
- The plugin has a proper header and cleans up its option on uninstall.
A note on wp_body_open: it depends on the theme calling it. A developer who mentions that in their handover note, with a fallback, is showing exactly the kind of thinking you’re paying for.
Performance habits a WordPress developer test should reveal
A tiny plugin can’t show much performance skill, but it can show bad habits. Things to check:
- Settings read once with
get_option, not fetched again and again in the same request. - Assets loaded only when needed. If the notice is off, no CSS or JavaScript should load.
- No external requests on page load, such as fetching fonts or calling an API every time a page renders.
- No unbounded queries. If they query posts, there’s a sensible limit.
To check a submission yourself, install the free Query Monitor plugin on your test site. It shows database queries, PHP errors and loaded scripts for each page. A plugin that adds errors or dozens of queries to every page has a problem, even if the page looks right.
A code review exercise you can use

As a quick first filter before the main WordPress developer test, give candidates a short snippet with deliberate problems and ask them to list what’s wrong and how they’d fix it. It takes them 30 minutes and you about five to score. Here’s one I’d use:
add_action( 'init', function () {
if ( isset( $_POST['note'] ) ) {
global $wpdb;
$wpdb->query( "INSERT INTO {$wpdb->prefix}notes (text)
VALUES ('" . $_POST['note'] . "')" );
}
} );
add_shortcode( 'notes', function () {
global $wpdb;
$rows = $wpdb->get_results( "SELECT text FROM {$wpdb->prefix}notes" );
$out = '';
foreach ( $rows as $row ) {
$out .= '<p>' . $row->text . '</p>';
}
return $out;
} );
A strong answer finds most of these:
- SQL injection: user input goes straight into the query. Use
$wpdb->insert()or$wpdb->prepare(). - No nonce: any site could trick a logged-in user into submitting the form.
- No capability or login check: anyone, including bots, can write to the table.
- No sanitizing: the note should go through
sanitize_textarea_field( wp_unslash( ... ) ). - Stored XSS: the note is printed without
esc_html(). - Unbounded query: no LIMIT, so the shortcode slows down as the table grows.
Bonus points for noticing that the custom table is never created, and that the check runs on every request through init. A candidate who only says “use prepared statements” knows one thing. A candidate who finds five of six knows how to read code for risk.
WordPress developer interview questions, with good answers
After the WordPress developer test, a short call with technical questions confirms what the code suggested. These are different from the process questions in my hiring guide. They check understanding, not trivia, and none needs a whiteboard:
| Question | A good answer includes |
|---|---|
| What’s the difference between an action and a filter? | Actions run code at a point; filters receive a value, change it and return it |
| When do you sanitize and when do you escape? | Sanitize on input before saving, escape on output at the moment of printing |
| Why use a child theme or a plugin for custom code? | Parent theme updates overwrite edits; plugins survive theme changes |
| How would you add a script only on one page? | Enqueue it with a condition, such as is_page(), inside wp_enqueue_scripts |
| What is a nonce in WordPress? | A token that checks a request was intended, not a full authentication check |
| How do you debug a white screen? | Enable WP_DEBUG and logging on staging, check the error log, deactivate suspects |
| What are transients for? | Caching expensive results for a set time, such as an external API response |
| How do you deploy changes safely? | Staging first, backup, version control, test, then deploy |
Listen for plain explanations. A developer who can explain escaping to a business owner in two sentences understands it. One who answers with jargon and no example might have memorized it.
How to review a WordPress developer test if you’re not technical
Business owners often skip the code review because they can’t read PHP. You still have options:
- Install it on a clean test site and click through every “done means” item yourself.
- Run the free Plugin Check plugin from WordPress.org. It flags many security and coding standard issues automatically.
- Search the files for the escaping and nonce functions listed above. Their absence is a clear signal.
- Ask for a five-minute screen recording where the developer explains the code.
- Pay a second developer for an hour to review the top two submissions against your rubric.
The last option sounds like extra cost, but it’s small next to the cost of a bad hire on a site that earns money. Ask the reviewer to check against the WordPress PHP Coding Standards as well, since a developer who follows them usually writes code others can maintain.
Red flags in a WordPress developer test submission
- Edits to theme files or instructions to paste code into
functions.phpof the parent theme. - No escaping anywhere, or escaping on input instead of output.
- Code copied from a tutorial with the original prefix or comments still in it.
- PHP warnings on activation, or errors with debug mode on.
- No questions and no note, just a zip file.
- Far more time claimed than agreed without asking first.
One red flag doesn’t always mean no. A missing nonce from a developer who explains it as a mistake on the call is different from one who doesn’t see why it matters.
Who this kind of WordPress developer test is NOT for
If you need a one-off fix, like changing a menu or updating a plugin, a formal test is overkill. Hire someone with good reviews for a small paid job and judge them on that. The test makes sense when you’re hiring for ongoing work, custom code, or access to a site that earns money.
It’s also not the right tool for no-code roles. Someone who builds pages in Elementor or Divi needs a design test instead. And if you’re hiring for a large custom plugin, use a WordPress developer test to choose the developer, then follow a proper scoping process like the one in my guide to custom WordPress plugin development.
Frequently asked questions
Should a WordPress developer test be paid?
Yes. Pay the developer’s normal rate for the estimated time. Unpaid tests put off experienced developers and attract people with time to spare, which is the opposite of what you want.
How long should a WordPress coding test take?
Two to three hours for a take-home task, or 30 to 45 minutes for a code review exercise. Anything longer is a project and should be priced as one.
What should a WordPress developer test include?
A small, realistic task that involves user input, saved data and front-end output, so it shows security habits, use of hooks, performance choices and communication. Leave security out of the brief to see whether the developer handles it unprompted.
What are good WordPress developer interview questions?
Ask about actions vs filters, when to sanitize vs escape, why custom code belongs in a plugin or child theme, how to load a script on one page, what nonces do, how to debug a white screen, and how they deploy changes safely.
Can I check the code if I’m not a developer?
Partly. Install it on a test site, run the free Plugin Check plugin, search the files for escaping and nonce functions, and ask for a recorded walkthrough. For important hires, pay a second developer for an hour of review.
Can I use WordPress developer test code on my live site?
Only if you told the developer up front and paid for it as real work. Using test submissions in production without agreement is unfair and can raise ownership questions.
Want a developer who passes this test?
I write WordPress code the way this guide describes: in plugins or child themes, with escaping, nonces and capability checks, tested on staging. See my WordPress developer service, at $15 an hour with small fixes from $25 and custom plugins from $199, or send me your WordPress developer test. I’m happy to do it paid, like anyone you’re considering.
