Lubinik Learning

Training mode

WordPress Intermediate Assessment

Time remaining:

0 / 50 answered

  1. 1. Why should essential site functionality usually not live only in a theme?

    Why should essential site functionality usually not live only in a theme?
    Hint

    Separate presentation responsibilities from reusable site functionality.

  2. 2. Which hooks handle authenticated custom form requests sent to admin-post.php?

    Which hooks handle authenticated custom form requests sent to admin-post.php?
    Hint

    It is the non-AJAX administrative form endpoint.

  3. 3. What does a post author relationship identify?

    What does a post author relationship identify?
    Hint

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

  4. 4. When is 404.php used?

    When is 404.php used?
    Hint

    Separate presentation responsibilities from reusable site functionality.

  5. 5. What is special about plugins placed in wp-content/mu-plugins?

    What is special about plugins placed in wp-content/mu-plugins?
    Hint

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

  6. 6. What should a plugin do with its recurring events on deactivation?

    What should a plugin do with its recurring events on deactivation?
    Hint

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

  7. 7. What does WordPress core mean?

    What does WordPress core mean?
    Hint

    Start with the everyday meaning of the WordPress term.

  8. 8. Where are themes installed by default?

    Where are themes installed by default?
    Hint

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

  9. 9. How should server-side WordPress code treat submitted form data?

    How should server-side WordPress code treat submitted form data?
    Hint

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

  10. 10. What are the two main kinds of WordPress hooks?

    What are the two main kinds of WordPress hooks?
    Hint

    Identify the role of the WordPress function or extension point.

  11. 11. Which function returns the parent theme directory URL?

    Which function returns the parent theme directory URL?
    Hint

    Separate presentation responsibilities from reusable site functionality.

  12. 12. Why might a plugin file check whether ABSPATH is defined?

    Why might a plugin file check whether ABSPATH is defined?
    Hint

    Identify the WordPress API responsibility before considering implementation details.

  13. 13. What is the template hierarchy?

    What is the template hierarchy?
    Hint

    Separate presentation responsibilities from reusable site functionality.

  14. 14. What happens if a filter callback forgets to return the filtered value?

    What happens if a filter callback forgets to return the filtered value?
    Hint

    Actions may ignore return values; filters may not.

  15. 15. What is a secondary query?

    What is a secondary query?
    Hint

    Identify the WordPress API responsibility before considering implementation details.

  16. 16. What is a plugin text domain used for?

    What is a plugin text domain used for?
    Hint

    Identify the WordPress API responsibility before considering implementation details.

  17. 17. Which style.css header links a child theme to its parent?

    Which style.css header links a child theme to its parent?
    Hint

    Separate presentation responsibilities from reusable site functionality.

  18. 18. What does orderby control?

    What does orderby control?
    Hint

    Identify the WordPress API responsibility before considering implementation details.

  19. 19. Who can normally view a private post?

    Who can normally view a private post?
    Hint

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

  20. 20. When is a taxonomy usually preferable to plain metadata?

    When is a taxonomy usually preferable to plain metadata?
    Hint

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

  21. 21. What does meta_query filter by?

    What does meta_query filter by?
    Hint

    Identify the WordPress API responsibility before considering implementation details.

  22. 22. What is the role of the root index.php in a standard WordPress request?

    What is the role of the root index.php in a standard WordPress request?
    Hint

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

  23. 23. Where are ordinary plugins installed by default?

    Where are ordinary plugins installed by default?
    Hint

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

  24. 24. What does current_user_can() check?

    What does current_user_can() check?
    Hint

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

  25. 25. Which built-in taxonomy is non-hierarchical by default?

    Which built-in taxonomy is non-hierarchical by default?
    Hint

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

  26. 26. What is required before using featured images as a declared theme feature?

    What is required before using featured images as a declared theme feature?
    Hint

    Declare support during theme setup.

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

    Why can get_theme_file_uri() be useful?
    Hint

    Separate presentation responsibilities from reusable site functionality.

  28. 28. What does order normally specify?

    What does order normally specify?
    Hint

    Identify the WordPress API responsibility before considering implementation details.

  29. 29. What is permission_callback responsible for?

    What is permission_callback responsible for?
    Hint

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

  30. 30. What does absint() produce?

    What does absint() produce?
    Hint

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

  31. 31. What does tax_query filter by?

    What does tax_query filter by?
    Hint

    Identify the WordPress API responsibility before considering implementation details.

  32. 32. Which function sanitizes an email address?

    Which function sanitizes an email address?
    Hint

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

  33. 33. What do post-type labels control?

    What do post-type labels control?
    Hint

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

  34. 34. What does the public argument broadly influence?

    What does the public argument broadly influence?
    Hint

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

  35. 35. Which function verifies a general WordPress nonce?

    Which function verifies a general WordPress nonce?
    Hint

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

  36. 36. When is pre_get_posts useful?

    When is pre_get_posts useful?
    Hint

    Identify the WordPress API responsibility before considering implementation details.

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

  38. 38. What is functions.php used for in a theme?

    What is functions.php used for in a theme?
    Hint

    Separate presentation responsibilities from reusable site functionality.

  39. 39. Which function returns the active child theme directory URL?

    Which function returns the active child theme directory URL?
    Hint

    Separate presentation responsibilities from reusable site functionality.

  40. 40. Why can offset complicate ordinary pagination?

    Why can offset complicate ordinary pagination?
    Hint

    Identify the WordPress API responsibility before considering implementation details.

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

  42. 42. What does the third get_post_meta() argument control?

    What does the third get_post_meta() argument control?
    Hint

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

  43. 43. What does has_filter() return when a specific callback is registered?

    What does has_filter() return when a specific callback is registered?
    Hint

    The return value must distinguish priorities.

  44. 44. Why should a theme enqueue styles and scripts?

    Why should a theme enqueue styles and scripts?
    Hint

    Separate presentation responsibilities from reusable site functionality.

  45. 45. What is the broad responsibility of wp-settings.php?

    What is the broad responsibility of wp-settings.php?
    Hint

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

  46. 46. What does body_class() help add?

    What does body_class() help add?
    Hint

    Identify the role of the WordPress function or extension point.

  47. 47. What is a hook callback?

    What is a hook callback?
    Hint

    Identify the role of the WordPress function or extension point.

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

    What is the difference between validation and sanitization?
    Hint

    Reject versus clean.

  49. 49. Who normally submits forms through options.php?

    Who normally submits forms through options.php?
    Hint

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

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