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?
Rewrite SQL
Rendered HTML
An accommodation type mapped to its CPT
A language file
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?
Delete unknown keys
Replace all of them
Merge with the existing array
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 needs existing entities and requested entity type
All filters require two
It runs twice
It has two priorities
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?
BnB posts are queried
The incoming value is returned unchanged
A fatal is thrown
An empty result is forced
Hint
Trace the actual hook, data shape, and control flow.
5.
What does the selector query?
What does the selector query?
All revisions
Only attachments
All users
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 reveal private content
To let normal integrations adapt the query
To disable caching
To bypass SQL preparation
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 without the meta key
All published posts
Those explicitly marked as general accommodation
Those with titles
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
Filesystem paths
Raw HTML
SQL fragments
Hint
Trace the actual hook, data shape, and control flow.
9.
Which filter supplies managed template candidates?
Which filter supplies managed template candidates?
login_redirect
lubinikplugin/shortcodes/templates
pre_get_posts
the_content
Hint
Trace the actual hook, data shape, and control flow.
10.
Where are BnB accommodation packages discovered?
Where are BnB accommodation packages discovered?
templates/accommodation/* directories
uploads only
WordPress core
The options table
Hint
Trace the actual hook, data shape, and control flow.
11.
Why use GLOB_ONLYDIR?
Why use GLOB_ONLYDIR?
It registers hooks
It sorts posts
It validates nonces
Only directories represent packages
Hint
Trace the actual hook, data shape, and control flow.
12.
How is the template slug derived?
How is the template slug derived?
Locale
Database prefix
Current username
basename of its directory
Hint
Trace the actual hook, data shape, and control flow.
13.
What is the fallback display label?
What is the fallback display label?
A random UUID
Hyphens become spaces and words are title-cased
The absolute path
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 database resource
Only echoed HTML
A WP_User
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?
_lubinikplugin_page_content_layout post meta
A term description
style.css
wp-config.php
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
username, password, role
host, port, database
title, slug, author
Hint
Trace the actual hook, data shape, and control flow.
17.
What happens with no local layout?
What happens with no local layout?
The addon deactivates
Entity-type global options and registered shortcode settings provide defaults
A random entity is copied
The post is deleted
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 seed terms
To prevent reading or writing layout data on the wrong post type
To load translations
To compress assets
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 needs chain result, type, ID, settings, enabled order, and source ID
PHP requires six
It creates six posts
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 preserve the cooperative filter chain for another handler
To activate the theme
To hide all errors
To retry SQL automatically
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