Lubinik Learning

Training mode

Full WordPress Developer Interview

Time remaining:

0 / 60 answered

  1. 1. What does ORDER BY control?

    What does ORDER BY control?
    Hint

    Identify what the command or language feature is responsible for.

  2. 2. Why write reliable reproduction steps?

    Why write reliable reproduction steps?
    Hint

    Choose the answer that reflects current WordPress engineering practice.

  3. 3. What should the child theme Template value match?

    What should the child theme Template value match?
    Hint

    Separate presentation responsibilities from reusable site functionality.

  4. 4. Why use a namespace such as my-plugin/v1?

    Why use a namespace such as my-plugin/v1?
    Hint

    Consider lifecycle, authorization, failure and long-term maintenance.

  5. 5. What does display: none do?

    What does display: none do?
    Hint

    Choose the definition or behavior that best matches the web standard.

  6. 6. What does private visibility mean?

    What does private visibility mean?
    Hint

    Focus on the responsibility of the language feature rather than memorizing punctuation.

  7. 7. Why should plugin strings use a consistent text domain?

    Why should plugin strings use a consistent text domain?
    Hint

    It is part of internationalization calls.

  8. 8. Why can get_theme_file_uri() be useful?

    Why can get_theme_file_uri() be useful?
    Hint

    Separate presentation responsibilities from reusable site functionality.

  9. 9. Why use asort() instead of sort() for an associative array?

    Why use asort() instead of sort() for an associative array?
    Hint

    Focus on the responsibility of the language feature rather than memorizing punctuation.

  10. 10. Which selector targets the element whose id is header?

    Which selector targets the element whose id is header?
    Hint

    Choose the definition or behavior that best matches the web standard.

  11. 11. What should a setting sanitization callback return?

    What should a setting sanitization callback return?
    Hint

    Consider lifecycle, authorization, failure and long-term maintenance.

  12. 12. What does do_action() do?

    What does do_action() do?
    Hint

    Identify the role of the WordPress function or extension point.

  13. 13. Which function registers a taxonomy?

    Which function registers a taxonomy?
    Hint

    Identify the data-model or security responsibility before choosing the API.

  14. 14. Should a child theme always assume WordPress automatically loads the parent stylesheet?

    Should a child theme always assume WordPress automatically loads the parent stylesheet?
    Hint

    Separate presentation responsibilities from reusable site functionality.

  15. 15. Which SQL command adds a new row?

    Which SQL command adds a new row?
    Hint

    Identify what the command or language feature is responsible for.

  16. 16. What is the essential difference between a WordPress action and a filter?

    Choose the statement that correctly describes the contract expected by WordPress.

    What is the essential difference between a WordPress action and a filter?
    Hint

    Ask yourself whether the received value must continue through the execution chain.

  17. 17. What kind of data belongs in the Options API?

    What kind of data belongs in the Options API?
    Hint

    Consider lifecycle, authorization, failure and long-term maintenance.

  18. 18. How does WordPress connect a registered callback to a fired hook?

    How does WordPress connect a registered callback to a fired hook?
    Hint

    Identify the role of the WordPress function or extension point.

  19. 19. What is HTML primarily used for?

    What is HTML primarily used for?
    Hint

    Choose the definition or behavior that best matches the web standard.

  20. 20. Why call wp_reset_postdata() after a secondary loop that used the_post()?

    Why call wp_reset_postdata() after a secondary loop that used the_post()?
    Hint

    Identify the role of the WordPress function or extension point.

  21. 21. Why add parameter and return type declarations?

    Why add parameter and return type declarations?
    Hint

    Focus on the responsibility of the language feature rather than memorizing punctuation.

  22. 22. What is the purpose of try and catch?

    What is the purpose of try and catch?
    Hint

    Focus on the responsibility of the language feature rather than memorizing punctuation.

  23. 23. What makes a useful commit message?

    What makes a useful commit message?
    Hint

    Focus on what crosses the client/server or local/remote boundary.

  24. 24. A template uses query_posts() to show featured content. What is preferable?

    A template uses query_posts() to show featured content. What is preferable?
    Hint

    Choose the solution with the clearest boundary and safest lifecycle behavior.

  25. 25. What is the difference between validation and sanitization?

    What is the difference between validation and sanitization?
    Hint

    Reject versus clean.

  26. 26. What is the practical difference between return and echo?

    What is the practical difference between return and echo?
    Hint

    Focus on the responsibility of the language feature rather than memorizing punctuation.

  27. 27. Where are ordinary WordPress plugins stored by default?

    Where are ordinary WordPress plugins stored by default?
    Hint

    Identify the WordPress API responsibility before considering implementation details.

  28. 28. What does orderby control?

    What does orderby control?
    Hint

    Identify the WordPress API responsibility before considering implementation details.

  29. 29. What does validation do?

    What does validation do?
    Hint

    Identify the data-model or security responsibility before choosing the API.

  30. 30. Which built-in taxonomy is hierarchical by default?

    Which built-in taxonomy is hierarchical by default?
    Hint

    Place the concept in the WordPress request, content, or permission model.

  31. 31. Why does WordPress expose lifecycle hooks?

    Why does WordPress expose lifecycle hooks?
    Hint

    Place the concept in the WordPress request, content, or permission model.

  32. 32. What does the global keyword do inside a function?

    What does the global keyword do inside a function?
    Hint

    Focus on the responsibility of the language feature rather than memorizing punctuation.

  33. 33. What is the main difference between Draft and Published status?

    What is the main difference between Draft and Published status?
    Hint

    Start with the everyday meaning of the WordPress term.

  34. 34. Why should custom REST routes use a versioned namespace such as my-plugin/v1?

    Why should custom REST routes use a versioned namespace such as my-plugin/v1?
    Hint

    Routes are public identifiers.

  35. 35. Why inject collaborators instead of constructing them everywhere?

    Why inject collaborators instead of constructing them everywhere?
    Hint

    Choose the solution with the clearest boundary and safest lifecycle behavior.

  36. 36. Which dependency direction is preferable?

    Which dependency direction is preferable?
    Hint

    Choose the solution with the clearest boundary and safest lifecycle behavior.

  37. 37. What is the default hook priority when none is specified?

    What is the default hook priority when none is specified?
    Hint

    Identify the role of the WordPress function or extension point.

  38. 38. Which element creates a hyperlink?

    Which element creates a hyperlink?
    Hint

    Choose the definition or behavior that best matches the web standard.

  39. 39. What does a Promise represent?

    What does a Promise represent?
    Hint

    Identify what the command or language feature is responsible for.

  40. 40. What can an Author normally manage?

    What can an Author normally manage?
    Hint

    Place the concept in the WordPress request, content, or permission model.

  41. 41. What is editorStyle intended for?

    What is editorStyle intended for?
    Hint

    Choose the answer that reflects current WordPress engineering practice.

  42. 42. When are active ordinary plugins loaded relative to the active theme?

    When are active ordinary plugins loaded relative to the active theme?
    Hint

    Place the concept in the WordPress request, content, or permission model.

  43. 43. How should a shortcode callback normally provide its markup?

    How should a shortcode callback normally provide its markup?
    Hint

    The content filter decides where the result belongs.

  44. 44. What does JSON.parse( text ) do?

    What does JSON.parse( text ) do?
    Hint

    Identify what the command or language feature is responsible for.

  45. 45. Which pair represents an unordered list and a list item?

    Which pair represents an unordered list and a list item?
    Hint

    Choose the definition or behavior that best matches the web standard.

  46. 46. Which operator concatenates PHP strings?

    Which operator concatenates PHP strings?
    Hint

    Identify the definition or behavior described by the question.

  47. 47. What is an HTML element?

    What is an HTML element?
    Hint

    Choose the definition or behavior that best matches the web standard.

  48. 48. Does deactivating a plugin normally delete its files and data?

    Does deactivating a plugin normally delete its files and data?
    Hint

    Identify the WordPress API responsibility before considering implementation details.

  49. 49. What is often more efficient for a small related settings group?

    What is often more efficient for a small related settings group?
    Hint

    Keep unrelated or very large values separate.

  50. 50. What does a WordPress nonce primarily verify?

    What does a WordPress nonce primarily verify?
    Hint

    Identify the data-model or security responsibility before choosing the API.

  51. 51. Why pass an object ID when checking a meta capability such as edit_post?

    Why pass an object ID when checking a meta capability such as edit_post?
    Hint

    Identify the data-model or security responsibility before choosing the API.

  52. 52. Which task is most suitable for the shutdown hook?

    Which task is most suitable for the shutdown hook?
    Hint

    It is late in the request.

  53. 53. Which URL prefix normally exposes the WordPress REST API?

    Which URL prefix normally exposes the WordPress REST API?
    Hint

    Place the concept in the WordPress request, content, or permission model.

  54. 54. What is a plain JavaScript object commonly used for?

    What is a plain JavaScript object commonly used for?
    Hint

    Identify what the command or language feature is responsible for.

  55. 55. What characterizes a relational database?

    What characterizes a relational database?
    Hint

    Identify what the command or language feature is responsible for.

  56. 56. What makes a safe data migration?

    What makes a safe data migration?
    Hint

    Choose the solution with the clearest boundary and safest lifecycle behavior.

  57. 57. On a standard single-site installation, which role normally has the broadest administrative access?

    On a standard single-site installation, which role normally has the broadest administrative access?
    Hint

    Start with the everyday meaning of the WordPress term.

  58. 58. Which tag normally begins a PHP code block?

    Which tag normally begins a PHP code block?
    Hint

    Identify the definition or behavior described by the question.

  59. 59. What is a drawback of calling ServerSideRender for every small editor interaction?

    What is a drawback of calling ServerSideRender for every small editor interaction?
    Hint

    Consider editor responsiveness.

  60. 60. What is a Git commit?

    What is a Git commit?
    Hint

    Focus on what crosses the client/server or local/remote boundary.