Skip to content
Menu
Home
Practice
All Exams
Custom Exam
Study
Flashcards
Daily Study
Study Plan
Saved Questions
Progress
My Results
Weekly Goals
Topic Progress
Account
My Personal Info
My Learning Data
Personal Notes
Training mode
Lubinik Managed Entity & Template Flow
Time remaining:
0
/ 20 answered
1.
What does lubinikplugin/shortcodes/entity_types contribute?
What does lubinikplugin/shortcodes/entity_types contribute?
A language file
An accommodation type mapped to its CPT
Rendered HTML
Rewrite SQL
Hint
Trace the actual hook, data shape, and control flow.
2.
How must that filter treat types from other addons?
How must that filter treat types from other addons?
Merge with the existing array
Replace all of them
Delete unknown keys
Turn them into terms
Hint
Trace the actual hook, data shape, and control flow.
3.
Why does the entities filter accept two arguments?
Why does the entities filter accept two arguments?
It has two priorities
It needs existing entities and requested entity type
It runs twice
All filters require two
Hint
Trace the actual hook, data shape, and control flow.
4.
What happens for a non-accommodation entity type?
What happens for a non-accommodation entity type?
The incoming value is returned unchanged
An empty result is forced
A fatal is thrown
BnB posts are queried
Hint
Trace the actual hook, data shape, and control flow.
5.
What does the selector query?
What does the selector query?
All revisions
All users
Only attachments
All published accommodations ordered by title
Hint
Trace the actual hook, data shape, and control flow.
6.
Why set suppress_filters to false?
Why set suppress_filters to false?
To bypass SQL preparation
To reveal private content
To let normal integrations adapt the query
To disable caching
Hint
Trace the actual hook, data shape, and control flow.
7.
Which accommodations are excluded by the meta_query?
Which accommodations are excluded by the meta_query?
Those with titles
All published posts
Those explicitly marked as general accommodation
Those without the meta key
Hint
Trace the actual hook, data shape, and control flow.
8.
What does the selector return?
What does the selector return?
A map of post IDs to titles
Raw HTML
SQL fragments
Filesystem paths
Hint
Trace the actual hook, data shape, and control flow.
9.
Which filter supplies managed template candidates?
Which filter supplies managed template candidates?
the_content
lubinikplugin/shortcodes/templates
login_redirect
pre_get_posts
Hint
Trace the actual hook, data shape, and control flow.
10.
Where are BnB accommodation packages discovered?
Where are BnB accommodation packages discovered?
WordPress core
uploads only
templates/accommodation/* directories
The options table
Hint
Trace the actual hook, data shape, and control flow.
11.
Why use GLOB_ONLYDIR?
Why use GLOB_ONLYDIR?
Only directories represent packages
It sorts posts
It validates nonces
It registers hooks
Hint
Trace the actual hook, data shape, and control flow.
12.
How is the template slug derived?
How is the template slug derived?
basename of its directory
Database prefix
Locale
Current username
Hint
Trace the actual hook, data shape, and control flow.
13.
What is the fallback display label?
What is the fallback display label?
The absolute path
A random UUID
Hyphens become spaces and words are title-cased
The CPT label
Hint
Trace the actual hook, data shape, and control flow.
14.
What must template meta.php return?
What must template meta.php return?
An array of metadata
A WP_User
Only echoed HTML
A database resource
Hint
Trace the actual hook, data shape, and control flow.
15.
Where is a local managed layout stored?
Where is a local managed layout stored?
wp-config.php
A term description
style.css
_lubinikplugin_page_content_layout post meta
Hint
Trace the actual hook, data shape, and control flow.
16.
Which keys form the stored layout contract?
Which keys form the stored layout contract?
enabled_shortcodes, default_source_id, shortcode_settings
title, slug, author
username, password, role
host, port, database
Hint
Trace the actual hook, data shape, and control flow.
17.
What happens with no local layout?
What happens with no local layout?
The post is deleted
The addon deactivates
Entity-type global options and registered shortcode settings provide defaults
A random entity is copied
Hint
Trace the actual hook, data shape, and control flow.
18.
Why validate entity ID against entity type?
Why validate entity ID against entity type?
To load translations
To compress assets
To seed terms
To prevent reading or writing layout data on the wrong post type
Hint
Trace the actual hook, data shape, and control flow.
19.
Why does save_entity_layout consume six filter arguments?
Why does save_entity_layout consume six filter arguments?
Its priority is six
It creates six posts
It needs chain result, type, ID, settings, enabled order, and source ID
PHP requires six
Hint
Trace the actual hook, data shape, and control flow.
20.
Why return the incoming result if update_post_meta fails?
Why return the incoming result if update_post_meta fails?
To activate the theme
To hide all errors
To retry SQL automatically
To preserve the cooperative filter chain for another handler
Hint
Trace the actual hook, data shape, and control flow.
Submit my answers
Post navigation
Previous:
Lubinik Addon Bootstrap & Runtime
Next:
Lubinik Shortcode Registry, Assets & Components