Lubinik Learning

Training mode

Lubinik Template Discovery & Resolution

Time remaining:

0 / 20 answered

  1. 1. Which filter contributes template base directories?

    Which filter contributes template base directories?
    Hint

    Follow setting precedence and the file-resolution pipeline.

  2. 2. Why is the logical template type passed to the directory filter?

    Why is the logical template type passed to the directory filter?
    Hint

    Follow setting precedence and the file-resolution pipeline.

  3. 3. What happens to an empty, non-string, or missing base directory?

    What happens to an empty, non-string, or missing base directory?
    Hint

    Follow setting precedence and the file-resolution pipeline.

  4. 4. How deep does generic discovery scan under each base directory?

    How deep does generic discovery scan under each base directory?
    Hint

    Follow setting precedence and the file-resolution pipeline.

  5. 5. Which file makes a discovered package valid?

    Which file makes a discovered package valid?
    Hint

    Follow setting precedence and the file-resolution pipeline.

  6. 6. Is meta.php required?

    Is meta.php required?
    Hint

    Follow setting precedence and the file-resolution pipeline.

  7. 7. What happens if meta.php does not return an array?

    What happens if meta.php does not return an array?
    Hint

    Follow setting precedence and the file-resolution pipeline.

  8. 8. How is the default template name generated?

    How is the default template name generated?
    Hint

    Follow setting precedence and the file-resolution pipeline.

  9. 9. Which other metadata fields default to empty strings?

    Which other metadata fields default to empty strings?
    Hint

    Follow setting precedence and the file-resolution pipeline.

  10. 10. Two base directories contain the same slug. Which wins?

    Two base directories contain the same slug. Which wins?
    Hint

    Follow setting precedence and the file-resolution pipeline.

  11. 11. Why does contributed directory order matter?

    Why does contributed directory order matter?
    Hint

    Follow setting precedence and the file-resolution pipeline.

  12. 12. Which filter can alter the complete discovered template map?

    Which filter can alter the complete discovered template map?
    Hint

    Follow setting precedence and the file-resolution pipeline.

  13. 13. A package directory appears but not in the manager. What should be checked first?

    A package directory appears but not in the manager. What should be checked first?
    Hint

    Follow setting precedence and the file-resolution pipeline.

  14. 14. An unexpected template wins for a duplicate slug. What should be inspected?

    An unexpected template wins for a duplicate slug. What should be inspected?
    Hint

    Follow setting precedence and the file-resolution pipeline.

  15. 15. Why keep template.php and meta.php together in a slug directory?

    Why keep template.php and meta.php together in a slug directory?
    Hint

    Follow setting precedence and the file-resolution pipeline.

  16. 16. Why might a rich template call get_shortcode_inner_html()?

    Why might a rich template call get_shortcode_inner_html()?
    Hint

    Follow setting precedence and the file-resolution pipeline.

  17. 17. How can a template avoid outputting an empty gallery wrapper?

    How can a template avoid outputting an empty gallery wrapper?
    Hint

    Follow setting precedence and the file-resolution pipeline.

  18. 18. What is the difference between classic and richer managed shells?

    What is the difference between classic and richer managed shells?
    Hint

    Follow setting precedence and the file-resolution pipeline.

  19. 19. Why are generated shortcode attribute values passed through esc_attr?

    Why are generated shortcode attribute values passed through esc_attr?
    Hint

    Follow setting precedence and the file-resolution pipeline.

  20. 20. What finally turns the constructed shortcode string into HTML?

    What finally turns the constructed shortcode string into HTML?
    Hint

    Follow setting precedence and the file-resolution pipeline.