This PHP and WordPress Online Test
Separates Good From Bad Hires

Check our public questions below

Solve questions to get feedback or
take a practice test and get a free certificate.

Screen with work-sample questions

Work-samples are the best predictor of work performance. 8,000+ companies use TestDome premium questions.

About the test

The PHP and WordPress online test assesses candidates' knowledge of programming in the PHP language as well as their familiarity with the WordPress API and architecture.

It's an ideal test for pre-employment screening. A good WordPress developer needs to be able not only to solve problems using PHP as the programming language but also to use PHP to create extensions for WordPress, such as themes and plugins.

This online test requires candidates to solve coding problems in PHP as well as answer questions about the WordPress API and architecture.

Sample public questions

Easy
1 min
mcq
Public
WordPress
Themes

A WordPress theme contains, among other things, all the files listed below. Which of these files will be used to display the homepage after this theme is activated?

Easy
5 min
mca
Public
PHP
Sanitization
Validation

You're maintaining the PHP back-end of a Tree Planting website.

The registerForEvent function is called by the server when interested people fill a form to register for a tree planting event.

The register function it calls performs the registration logic.

Consider the code for the registerForEvent function:

function registerForEvent($name, $seedBagsNeeded)
{
    $sanitizedName = filter_var($name, FILTER_SANITIZE_SPECIAL_CHARS);
    $filteredBagsNeeded = filter_var($seedBagsNeeded, FILTER_VALIDATE_INT);
    register($sanitizedName, $filteredBagsNeeded);
}

What is correct about the filtering and sanitization done in the code above?

For jobseekers: get certified

Earn a free certificate by achieving top 25% on the PHP and WordPress test with public questions.

Take a Certification Test

For companies: premium questions

Buy TestDome to access premium questions that can't be practiced.
Get money back if you find any premium question answered online.

Sign Up to Offer this Test

44 more premium PHP and WordPress questions

Actions, Plugin, Global Config, Widget Area, Script Inclusion, Theme CSS, Last Key, Height, Shipping, Array Sum, Category Tree, Hobbies, Paragraph, Products, Username, View Count, Language Teacher, Crop Ratio, Log Parser, Kilometer Converter, String Occurrence, Special Actions, Array Search, Segment, Vectors, Cookie, Read Write Execute, Read First Line, Filter, Fire Dragon, Unique Numbers, Shipping Service, Action Stack, Flower Shop, PC Parts Seller, Date Transform, Specialized Team Members, Origami Blog, Math Blog, Concerned Manager, Pottery Blog, Greeter, Numbers to Text, Chain Link.

Skills and topics tested

  • WordPress
  • Hooks
  • Plugins
  • Configuration
  • Themes
  • Scripts
  • PHP
  • Arrays
  • Arithmetic
  • Language
  • Pass by Reference
  • Associative Arrays
  • Exceptions
  • Iteration
  • Regex
  • Strings
  • JSON
  • Serialization
  • Sorting
  • Inheritance
  • OOP
  • Bug Fixing
  • Integer Division
  • XML
  • Method Overriding
  • Stream
  • Recursion
  • Session
  • Interfaces
  • Algorithmic Thinking
  • Callback
  • Stack
  • Null Coalescing Operator
  • Classes
  • Properties
  • WordPress GUI
  • WordPress Query Loop
  • WordPress Blocks
  • Authorization
  • WordPress User Roles
  • WordPress Custom Fields
  • Linked List

For job roles

  • PHP Developer
  • Web Developer
  • WordPress Developer

Solve all your skill testing needs

150+ Pre-made tests

From web development and database administration to project management and customer support. See all pre-made tests.

Multi-skills Test

Mix questions for different skills or even custom questions in one test. See an example.

How TestDome works

1

Choose a pre-made test
or create a custom test

2

Invite candidates via
email, URL or your ATS

3

Candidates take
a test remotely

4

Sort candidates and
get individual reports

Want to know more?

Not exactly what you're looking for?

Related PHP and WordPress Programming Tests: