Lubinik Learning

Training mode

Full WordPress Developer Interview

Time remaining:

0 / 60 answered

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

    What is the difference between validation and sanitization?
    Hint

    Reject versus clean.

  2. 2. Why should interactive elements have a clear focus style?

    Why should interactive elements have a clear focus style?
    Hint

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

  3. 3. Which function registers a callback on an action?

    Which function registers a callback on an action?
    Hint

    Identify the role of the WordPress function or extension point.

  4. 4. Why use plugin path and URL helper functions rather than hard-coded installation paths?

    Why use plugin path and URL helper functions rather than hard-coded installation paths?
    Hint

    Identify the WordPress API responsibility before considering implementation details.

  5. 5. What does has_post_thumbnail() check?

    What does has_post_thumbnail() check?
    Hint

    Identify the role of the WordPress function or extension point.

  6. 6. What does SAVEQUERIES record?

    What does SAVEQUERIES record?
    Hint

    Choose the answer that reflects current WordPress engineering practice.

  7. 7. Which selector targets elements with the class card?

    Which selector targets elements with the class card?
    Hint

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

  8. 8. What may save return for a fully dynamic block?

    What may save return for a fully dynamic block?
    Hint

    Choose the answer that reflects current WordPress engineering practice.

  9. 9. What is HTML primarily used for?

    What is HTML primarily used for?
    Hint

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

  10. 10. What should a developer remember about WP-Cron timing?

    What should a developer remember about WP-Cron timing?
    Hint

    It is not the operating system cron daemon.

  11. 11. What is a feature flag useful for?

    What is a feature flag useful for?
    Hint

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

  12. 12. Which value is a PHP string?

    Which value is a PHP string?
    Hint

    Identify the definition or behavior described by the question.

  13. 13. What object is normally passed to a REST endpoint callback?

    What object is normally passed to a REST endpoint callback?
    Hint

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

  14. 14. Which file normally contains the WordPress database connection configuration?

    Which file normally contains the WordPress database connection configuration?
    Hint

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

  15. 15. How can a child theme override a parent template file?

    How can a child theme override a parent template file?
    Hint

    Separate presentation responsibilities from reusable site functionality.

  16. 16. Which value is a PHP floating-point number?

    Which value is a PHP floating-point number?
    Hint

    Identify the definition or behavior described by the question.

  17. 17. What does date_query filter by?

    What does date_query filter by?
    Hint

    Identify the WordPress API responsibility before considering implementation details.

  18. 18. What is init commonly used for?

    What is init commonly used for?
    Hint

    Identify the role of the WordPress function or extension point.

  19. 19. Why should heading levels follow a meaningful hierarchy?

    Why should heading levels follow a meaningful hierarchy?
    Hint

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

  20. 20. What does a Git merge do?

    What does a Git merge do?
    Hint

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

  21. 21. How are callbacks with the same priority generally ordered?

    How are callbacks with the same priority generally ordered?
    Hint

    Identify the role of the WordPress function or extension point.

  22. 22. What is WordPress metadata?

    What is WordPress metadata?
    Hint

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

  23. 23. What is CSS primarily used for?

    What is CSS primarily used for?
    Hint

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

  24. 24. How should configuration and secrets differ?

    How should configuration and secrets differ?
    Hint

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

  25. 25. Why might an API return JSON instead of HTML?

    Why might an API return JSON instead of HTML?
    Hint

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

  26. 26. Which WP_Query argument prevents sticky posts from being promoted?

    Which WP_Query argument prevents sticky posts from being promoted?
    Hint

    It does not exclude sticky posts from matching.

  27. 27. What does a network port help identify?

    What does a network port help identify?
    Hint

    Identify the definition or behavior described by the question.

  28. 28. Why is wp_unslash() commonly used before sanitizing request data?

    Why is wp_unslash() commonly used before sanitizing request data?
    Hint

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

  29. 29. What does get_posts() provide?

    What does get_posts() provide?
    Hint

    Identify the WordPress API responsibility before considering implementation details.

  30. 30. Why write reliable reproduction steps?

    Why write reliable reproduction steps?
    Hint

    Choose the answer that reflects current WordPress engineering practice.

  31. 31. What does count( $items ) return for an array?

    What does count( $items ) return for an array?
    Hint

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

  32. 32. Which function should be preferred when redirecting to a URL that must stay on an allowed host?

    Which function should be preferred when redirecting to a URL that must stay on an allowed host?
    Hint

    Escaping a string is not the same as validating a redirect destination.

  33. 33. Which function sanitizes a lowercase machine-readable key?

    Which function sanitizes a lowercase machine-readable key?
    Hint

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

  34. 34. What does current_user_can() check?

    What does current_user_can() check?
    Hint

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

  35. 35. How does hook priority affect callbacks attached to the same hook?

    Assume all callbacks are valid and registered.

    How does hook priority affect callbacks attached to the same hook?
    Hint

    Compare numeric priority values.

  36. 36. Which function registers a stylesheet for a specific block type?

    Which function registers a stylesheet for a specific block type?
    Hint

    It can avoid loading block CSS where it is not needed.

  37. 37. Which functions read and update post metadata?

    Which functions read and update post metadata?
    Hint

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

  38. 38. What does relation control in a WP_Query meta_query?

    The query contains more than one metadata condition.

    What does relation control in a WP_Query meta_query?
    Hint

    Think of boolean logic between clauses.

  39. 39. What is a WordPress plugin?

    What is a WordPress plugin?
    Hint

    Start with the everyday meaning of the WordPress term.

  40. 40. What does a default parameter value allow?

    What does a default parameter value allow?
    Hint

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

  41. 41. What is The Loop in WordPress?

    What is The Loop in WordPress?
    Hint

    Identify the role of the WordPress function or extension point.

  42. 42. What does the supports argument define?

    What does the supports argument define?
    Hint

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

  43. 43. What is CSS inheritance?

    What is CSS inheritance?
    Hint

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

  44. 44. What does CMS mean?

    What does CMS mean?
    Hint

    Start with the everyday meaning of the WordPress term.

  45. 45. What is the Git working tree?

    What is the Git working tree?
    Hint

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

  46. 46. What makes a PHP file discoverable as a WordPress plugin?

    What makes a PHP file discoverable as a WordPress plugin?
    Hint

    Look at how the Plugins screen discovers files.

  47. 47. What should a theme do before rendering a named navigation location?

    What should a theme do before rendering a named navigation location?
    Hint

    Locations belong to the theme; assigned menus belong to site content.

  48. 48. What does const declare?

    What does const declare?
    Hint

    Identify what the command or language feature is responsible for.

  49. 49. What is a basic image-performance practice?

    What is a basic image-performance practice?
    Hint

    Choose the answer that reflects current WordPress engineering practice.

  50. 50. Which keyword declares that a class follows an interface?

    Which keyword declares that a class follows an interface?
    Hint

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

  51. 51. When is dynamic rendering useful?

    When is dynamic rendering useful?
    Hint

    Choose the answer that reflects current WordPress engineering practice.

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

    What should a setting sanitization callback return?
    Hint

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

  53. 53. Which SQL command changes existing rows?

    Which SQL command changes existing rows?
    Hint

    Identify what the command or language feature is responsible for.

  54. 54. What should be inspected when autoloaded options are large?

    What should be inspected when autoloaded options are large?
    Hint

    Choose the answer that reflects current WordPress engineering practice.

  55. 55. How should a frontend script receive the AJAX URL and nonce?

    How should a frontend script receive the AJAX URL and nonce?
    Hint

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

  56. 56. What relationship does wp_set_object_terms() manage?

    What relationship does wp_set_object_terms() manage?
    Hint

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

  57. 57. For cookie-authenticated REST requests from WordPress admin, which header commonly carries the REST nonce?

    For cookie-authenticated REST requests from WordPress admin, which header commonly carries the REST nonce?
    Hint

    wp.apiFetch middleware can supply it.

  58. 58. 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.

  59. 59. A service reads $_POST deep inside business logic. What is better?

    A service reads $_POST deep inside business logic. What is better?
    Hint

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

  60. 60. 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.