Training mode
Time remaining:
0 / 50 answered
Separate presentation responsibilities from reusable site functionality.
The query contains more than one metadata condition.
Think of boolean logic between clauses.
Identify the WordPress API responsibility before considering implementation details.
Identify the data-model or security responsibility before choosing the API.
Consider lifecycle, authorization, failure and long-term maintenance.
Identify the role of the WordPress function or extension point.
Start with the everyday meaning of the WordPress term.
There is a dedicated filter for the generated class list.
Place the concept in the WordPress request, content, or permission model.
Choose the statement that correctly describes the contract expected by WordPress.
Ask yourself whether the received value must continue through the execution chain.
Look at how the Plugins screen discovers files.
The registered post type slug is book.
book
The template hierarchy includes the post type slug.
Useful when one callback handles several hooks.
Choose the function intended for capability checks.
Roles group capabilities, but code should generally check the required capability.
Administrators need a recoverable state.
Intent and permission are separate questions.
ABSPATH is defined by WordPress.