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?
Rendered HTML
Rewrite SQL
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?
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 runs twice
It needs existing entities and requested entity type
It has two priorities
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?
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 users
All published accommodations ordered by title
All revisions
Only attachments
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 bypass SQL preparation
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 explicitly marked as general accommodation
Those without the meta key
All published posts
Those with titles
Hint
Trace the actual hook, data shape, and control flow.
8.
What does the selector return?
What does the selector return?
Filesystem paths
Raw HTML
A map of post IDs to titles
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?
pre_get_posts
login_redirect
the_content
lubinikplugin/shortcodes/templates
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
templates/accommodation/* directories
The options table
uploads only
Hint
Trace the actual hook, data shape, and control flow.
11.
Why use GLOB_ONLYDIR?
Why use GLOB_ONLYDIR?
It validates nonces
It registers hooks
Only directories represent packages
It sorts posts
Hint
Trace the actual hook, data shape, and control flow.
12.
How is the template slug derived?
How is the template slug derived?
Current username
basename of its directory
Database prefix
Locale
Hint
Trace the actual hook, data shape, and control flow.
13.
What is the fallback display label?
What is the fallback display label?
The CPT label
A random UUID
The absolute path
Hyphens become spaces and words are title-cased
Hint
Trace the actual hook, data shape, and control flow.
14.
What must template meta.php return?
What must template meta.php return?
Only echoed HTML
An array of metadata
A database resource
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?
wp-config.php
A term description
_lubinikplugin_page_content_layout post meta
style.css
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?
title, slug, author
enabled_shortcodes, default_source_id, shortcode_settings
host, port, database
username, password, role
Hint
Trace the actual hook, data shape, and control flow.
17.
What happens with no local layout?
What happens with no local layout?
A random entity is copied
The post is deleted
The addon deactivates
Entity-type global options and registered shortcode settings provide defaults
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 compress assets
To load translations
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?
It creates six posts
PHP requires six
Its priority is six
It needs chain result, type, ID, settings, enabled order, and source ID
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 retry SQL automatically
To activate the theme
To hide all errors
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