Training mode
Time remaining:
0 / 50 answered
Stylesheet and template can mean child and parent.
Identify the data-model or security responsibility before choosing the API.
Separate presentation responsibilities from reusable site functionality.
The server must enforce authorization before the main callback.
Identify the WordPress API responsibility before considering implementation details.
Identify the role of the WordPress function or extension point.
Place the concept in the WordPress request, content, or permission model.
Combine internationalization with context-appropriate output escaping.
Registration and flushing are different operations.
It can avoid loading block CSS where it is not needed.
Prefer explicit inputs and APIs.
Select all correct answers. The values are dynamic and are about to be rendered.
Visible HTML text and a URL attribute require different escaping functions.
Choose the safest general rule.
Public and protected routes both need an explicit permission decision.
Consider lifecycle, authorization, failure and long-term maintenance.
Start with the everyday meaning of the WordPress term.
The query contains values supplied at runtime.
Do not concatenate untrusted values into the SQL string.
Think about when every active plugin file has been included.
It concerns rendered media dimensions.
Authorization may depend on the object owner and status.
The registered post type slug is book.
book
The template hierarchy includes the post type slug.
Use the enqueue API rather than a CSS import.
Compare it with call_user_func_array().
Look at how the Plugins screen discovers files.