Hooks reference

This manual is for LMS Blueprint 0.47.19

Free Core AI Complete Store 0.47.19

Every filter and action the LMS Blueprint plugins run under a name that starts with am_, cb_, lmsb_ or cognition_, read from the code of version 0.47.19. 239 hooks, 288 call sites. Hook into them with WordPress’s own add_filter() and add_action().

For each hook: where it runs (file and line inside the plugin folder), which download carries that file, what it passes, and the docblock written above it in the code, when there is one. A hook that has no docblock has none in the code either; read the call site.

This page is generated again from the code at each release, so it changes when the code does. Theme hooks are on Theme hooks.

Calls whose name is worked out while the code runs, so it cannot be listed by name:

  • add_shortcode: $tag at modules/lms/includes/class-am-lesson-core-blocks.php:85
  • add_shortcode: $tag at shared/class-lmsb-paused-stubs.php:186
  • register_block_type: $name at shared/class-lmsb-paused-stubs.php:260
hooktypecall sitesin the download
am_course_landing_htmlfilter1Free, Core, Complete
am_dashboard_sectionsfilter1Free, Core, Complete
am_funnel_lead_busyfilter1Free, Core, Complete
am_funnel_lead_prunedaction1Free, Core, Complete
am_land_outcard_filefilter1Free, Core, Complete
am_lesson_widget_notesfilter1Free, Core, Complete
am_lms_can_complete_lessonfilter2Free, Core, Complete
am_lms_course_completedaction2Free, Core, Complete
am_lms_demo_boxaction1Free, Core, Complete
am_lms_focus_mode_enabledfilter1Free, Core, Complete
am_lms_help_urlfilter1Free, Core, Complete
am_lms_lesson_completedaction2Free, Core, Complete
am_lms_lesson_uncompletedaction1Free, Core, Complete
am_lms_module_completedaction2Free, Core, Complete
am_lms_optional_labelfilter1Free, Core, Complete
am_lms_quiz_attempt_recordedaction1Free, Core, Complete
am_lms_student_enrolledaction1Free, Core, Complete
am_lms_student_unenrolledaction1Free, Core, Complete
am_lms_terms_page_idfilter2Free, Core, AI, Complete
am_quiz_extra_keylessfilter1Free, Core, Complete
am_quiz_extra_typesfilter1Free, Core, Complete
am_quiz_grade_extrafilter2Free, Core, Complete
am_quiz_render_extrafilter1Free, Core, Complete
am_quiz_sanitise_extrafilter1Free, Core, Complete
am_rest_gated_post_typesfilter1Free, Core, Complete
am_sitemap_advertise_authorsfilter1Free, Core, Complete
am_sitemap_utility_pagesfilter1Free, Core, Complete
am_sitemap_withdrawn_lessonsfilter1Free, Core, Complete
am_social_meta_enabledfilter1Free, Core, Complete
am_social_meta_tagsfilter1Free, Core, Complete
am_stripe_course_checkout_argsfilter1Core, Complete
am_work_context_excludefilter1Core, Complete
cb_account_after_shelfaction1Free, Core, Complete
cb_account_before_shelfaction1Free, Core, Complete
cb_account_forum_urlfilter1Free, Core, Complete
cb_account_heading_h1filter1Free, Core, Complete
cb_account_settingsaction1Free, Core, Complete
cb_accounts_registration_openfilter1Free, Core, Complete
cb_advanced_adminfilter2Free, Core, AI, Complete
cb_ai_buy_urlfilter2Core, AI, Complete
cb_ai_expected_skufilter1AI, Complete
cb_ai_feature_labelsfilter1AI, Complete
cb_ai_feed_urlfilter1AI, Complete
cb_ai_feedback_recordedaction4Free, Core, AI, Complete
cb_ai_prior_contextfilter4Free, Core, AI, Complete
cb_ai_route_featuresfilter1AI, Complete
cb_ai_settings_footeraction1AI, Complete
cb_ai_usage_pricesfilter1AI, Complete
cb_ai_usage_retention_daysfilter1AI, Complete
cb_ai_work_contextfilter4Free, Core, AI, Complete
cb_app_embed_lesson_idfilter1Core, Complete
cb_app_library_dirfilter1Core, Complete
cb_branded_account_doorsfilter1Free, Core, Complete
cb_checkout_payment_pendingaction2Core, Complete, Store add-on
cb_checkout_require_termsfilter1Free, Core, AI, Complete
cb_checkout_startedaction2Core, Complete, Store add-on
cb_core_login_capfilter1Free, Core, Complete
cb_countdown_autoregisterfilter1Core, Complete
cb_course_health_httpfilter1Free, Core, Complete
cb_course_health_match_urlfilter1Free, Core, Complete
cb_course_health_resolvefilter1Free, Core, Complete
cb_course_health_review_urlfilter1Free, Core, Complete
cb_download_renewedaction1Core, Complete, Store add-on
cb_email_eventsfilter1Free, Core, Complete
cb_files_admin_bypassfilter1Core, Complete, Store add-on
cb_files_mime_mapfilter1Core, Complete, Store add-on
cb_files_open_pathsfilter1Core, Complete, Store add-on
cb_files_servedaction1Core, Complete, Store add-on
cb_included_sub_trial_daysfilter1Core, Complete, Store add-on
cb_lesson_allowed_blocksfilter1Free, Core, Complete
cb_lesson_display_defaultfilter2Free, Core, Complete
cb_lesson_handbook_rowsfilter1Free, Core, Complete
cb_lesson_handbook_tablefilter1Free, Core, Complete
cb_lesson_patternsfilter1Free, Core, Complete
cb_lesson_render_startaction3Free, Core, AI, Complete
cb_licence_seatsfilter1not in a sold zip (the selling site’s Licensed build)
cb_licence_sku_grantsfilter1not in a sold zip (the selling site’s Licensed build)
cb_licence_sku_windowsfilter1not in a sold zip (the selling site’s Licensed build)
cb_licence_store_urlfilter1Core, AI, Complete
cb_login_slugsfilter1Free, Core, Complete
cb_nudge_is_test_or_stafffilter1Free, Core, Complete
cb_product_external_buy_labelfilter3Core, Complete, Store add-on
cb_product_period_labelfilter3Core, Complete, Store add-on
cb_purchase_completedaction2Core, Complete, Store add-on
cb_rag_autoindex_typesfilter1AI, Complete
cb_rag_daily_limitfilter2Core, AI, Complete
cb_rag_fence_exempt_reasonsfilter1AI, Complete
cb_rag_retrieval_fencefilter1AI, Complete
cb_rag_workshop_typesfilter1AI, Complete
cb_reader_auto_pacefilter1Free, Core, Complete
cb_reader_beat_ai_labelfilter1Free, Core, Complete
cb_site_copyfilter9Free, Core, AI, Complete, Store add-on
cb_store_assets_dirfilter1not in a sold zip (the selling site’s Licensed build)
cb_store_assets_rate_limitfilter1not in a sold zip (the selling site’s Licensed build)
cb_store_book_labelfilter1Core, Complete
cb_store_cart_checkout_argsfilter1Core, Complete, Store add-on
cb_store_catalogue_htmlfilter1Core, Complete, Store add-on
cb_store_course_download_idsfilter1Core, Complete, Store add-on
cb_store_course_toolkit_idfilter1Core, Complete, Store add-on
cb_store_launch_bonusaction1Core, Complete, Store add-on
cb_store_local_copiesfilter1not in a sold zip (the selling site’s Licensed build)
cb_store_order_revokedaction1Core, Complete, Store add-on
cb_store_owned_product_idsfilter1Core, Complete, Store add-on
cb_store_plan_prefer_founderfilter1Core, Complete, Store add-on
cb_store_plan_saving_linefilter1Core, Complete, Store add-on
cb_store_plan_slugfilter1Core, Complete, Store add-on
cb_store_product_htmlfilter1Core, Complete, Store add-on
cb_store_refuse_public_filesfilter1Core, Complete, Store add-on
cb_store_review_urlfilter1not in a sold zip (the selling site’s Licensed build)
cb_store_sales_after_buyfilter1Core, Complete, Store add-on
cb_store_token_keysfilter1not in a sold zip (the selling site’s Licensed build)
cb_store_update_url_ttlfilter1not in a sold zip (the selling site’s Licensed build)
cb_subscription_changedaction2Core, Complete, Store add-on
cb_toolkit_registrar_enabledfilter1Core, Complete
cb_toolkit_source_dirfilter1Core, Complete
cb_ty_nowfilter1Free, Core, Complete
cb_ty_password_on_pagefilter1Free, Core, Complete
cb_ty_password_windowfilter1Free, Core, Complete
cb_webapp_documentfilter1Core, Complete
cb_webapp_publicfilter1Core, Complete
cb_webapp_svg_filefilter1Core, Complete
cb_webapp_svg_upload_allowedfilter1Core, Complete
cb_webapp_unresolved_verdictfilter1Core, Complete
cb_workbook_configsfilter2Core, AI, Complete
cb_workbook_step_linefilter1Core, Complete
lmsb_admin_sections_leftfilter1Core, AI, Complete
lmsb_admin_sections_mapfilter1Core, AI, Complete
lmsb_agent_ai_setupfilter1Core, Complete
lmsb_agent_bin_kindsfilter1Core, Complete
lmsb_agent_brand_logofilter1Core, Complete
lmsb_agent_bulk_budgetfilter1Core, Complete
lmsb_agent_calls_per_minutefilter1Core, Complete
lmsb_agent_cannotfilter1Core, Complete
lmsb_agent_course_hub_writesfilter1Core, Complete
lmsb_agent_definitionsfilter1Core, Complete
lmsb_agent_hash_keysfilter1Core, Complete
lmsb_agent_limitsfilter1Core, Complete
lmsb_agent_list_rowfilter1Core, Complete
lmsb_agent_list_typesfilter1Core, Complete
lmsb_agent_owner_wordsfilter1Core, Complete
lmsb_agent_page_blocksfilter1Core, Complete
lmsb_agent_preview_secondsfilter2Core, Complete
lmsb_agent_settings_groupsfilter1Core, Complete
lmsb_agent_tool_classesfilter1Core, Complete
lmsb_agent_write_like_mefilter1Core, Complete
lmsb_ask_manual_citation_basefilter1Core, Complete
lmsb_ask_manual_edition_hintfilter1Core, Complete
lmsb_ask_manual_editionsfilter1Core, Complete
lmsb_ask_manual_forum_urlfilter1Core, Complete
lmsb_ask_manual_pagesfilter1Core, Complete
lmsb_ask_manual_remotefilter1Core, Complete
lmsb_ask_manual_service_urlfilter1Core, Complete
lmsb_ask_manual_support_urlfilter1Core, Complete
lmsb_ask_manual_video_urlfilter1Core, Complete
lmsb_branch_native_statusfilter1Core, Complete
lmsb_choice_wordsfilter1Free, Core, Complete
lmsb_connect_token_ttlfilter1Core, Complete
lmsb_css_url_basesfilter1Free, Core, AI, Complete
lmsb_engage_awardedaction1Core, Complete
lmsb_feature_anim_activefilter1Core, Complete
lmsb_feedback_sentaction1Core, Complete
lmsb_forum_ai_afterfilter1Core, Complete
lmsb_forum_ai_labelfilter1Core, Complete
lmsb_forum_can_postfilter1Core, Complete
lmsb_forum_daily_limitfilter1Core, Complete
lmsb_forum_email_stringsfilter1Core, Complete
lmsb_forum_escalation_termsfilter1not in a sold zip
lmsb_forum_is_ai_accountfilter1Core, Complete
lmsb_forum_is_studentfilter1Core, Complete
lmsb_forum_lesson_panelfilter1Core, Complete
lmsb_forum_postedaction2Core, Complete
lmsb_forum_site_enabledfilter1Core, Complete
lmsb_forum_site_partsfilter2Core, AI, Complete
lmsb_forum_stringsfilter1Core, Complete
lmsb_forum_support_emailfilter1not in a sold zip
lmsb_hub_answer_modefilter2Core, Complete
lmsb_hub_builtin_tipsfilter1Core, Complete
lmsb_hub_card_deletedaction1Core, Complete
lmsb_hub_card_limitfilter1Core, Complete
lmsb_hub_due_queuefilter1Core, Complete
lmsb_hub_ready_summaryfilter1Core, Complete
lmsb_hub_study_cardsfilter5Core, Complete
lmsb_hub_study_wordsfilter1Core, Complete
lmsb_hub_tabsfilter1Core, Complete
lmsb_hub_tilesfilter1Core, Complete
lmsb_import_proposefilter1Core, Complete
lmsb_import_review_panelsaction1Core, Complete
lmsb_ivideo_draft_replyfilter1Core, Complete
lmsb_landing_lookfilter1Core, Complete
lmsb_lead_receivedaction1Core, Complete
lmsb_lesson_componentsfilter1Free, Core, Complete
lmsb_library_page_coursefilter1Core, Complete
lmsb_library_schemafilter1Core, Complete
lmsb_licence_answerfilter2Core, AI, Complete
lmsb_licence_nowfilter2Free, Core, AI, Complete
lmsb_live_enabledfilter1Free, Core, Complete
lmsb_login_lockedaction1Free, Core, Complete
lmsb_login_throttle_client_ipfilter1Free, Core, Complete
lmsb_login_throttle_ip_headerfilter1Free, Core, Complete
lmsb_login_throttle_settingsfilter1Free, Core, Complete
lmsb_login_throttle_trusted_proxiesfilter1Free, Core, Complete
lmsb_manual_import_stepaction1not in a sold zip
lmsb_manual_since_labelfilter1not in a sold zip
lmsb_manual_swappedaction1not in a sold zip
lmsb_marking_after_editoraction1Core, Complete
lmsb_marking_ai_feedbackaction1Core, Complete
lmsb_match_adapt_urlfilter2Core, Complete
lmsb_match_app_postfilter1Core, Complete
lmsb_match_app_slugfilter1Core, Complete
lmsb_match_cardsfilter1Core, Complete
lmsb_motion_effectsfilter1Core, Complete
lmsb_motion_keeps_nonefilter1Core, Complete
lmsb_motion_self_renderedfilter1Core, Complete
lmsb_motion_supportedfilter1Core, Complete
lmsb_platform_banner_linksfilter1not in a sold zip
lmsb_platform_banner_textfilter1not in a sold zip
lmsb_privacy_storesfilter1Free, Core, AI, Complete
lmsb_product_kindsfilter1Free, Core, AI, Complete
lmsb_review_urlfilter1AI, Complete
lmsb_scorm_exportedaction1Core, Complete
lmsb_scorm_importedaction1Core, Complete
lmsb_scorm_limitsfilter1Core, Complete
lmsb_scorm_token_ttlfilter1Core, Complete
lmsb_served_assets_budgetfilter1Core, AI, Complete
lmsb_served_assets_chunkfilter1Core, AI, Complete
lmsb_served_assets_updatedaction1Core, AI, Complete
lmsb_spaced_nowfilter1Core, Complete
lmsb_spaced_panelfilter1Core, Complete
lmsb_store_lookfilter1Core, Complete
lmsb_store_tool_sold_singlyfilter1Core, Complete, Store add-on
lmsb_submission_receivedaction1Core, Complete
lmsb_woo_account_linksfilter1Free, Core, AI, Complete
lmsb_woocommerce_activefilter1Free, Core, AI, Complete
lmsb_workbook_builtin_sourcefilter1Core, Complete
lmsb_workbook_compilefilter1Core, Complete
lmsb_workbook_editor_panelsaction1Core, Complete
lmsb_workbook_preview_afterfilter1Core, Complete
lmsb_workbook_preview_toolsaction1Core, Complete
lmsb_workbook_validatefilter1Core, Complete

am_course_landing_html

Filter. One call site.

  • modules/lms/includes/class-am-course-landing.php:1975 · Free, Core, Complete · passes '', $course_id

From the docblock at modules/lms/includes/class-am-course-landing.php:1975:

PAGEKIT1 C4 · the page drawn another way: the section library (LMSB_Landing) answers for a
course whose look is «page sections». '' = this classic page, unchanged.

@param string $html      ''.
@param int    $course_id The course.

am_dashboard_sections

Filter. One call site.

  • modules/lms/includes/class-am-dashboard.php:253 · Free, Core, Complete · passes '', (int) $user_id, $course_ids

From the docblock at modules/lms/includes/class-am-dashboard.php:253:

HUB1 (LB-271, spec §5): a slot for another module's band, between the
path strip and the shelf grid. The free plugin hooks nothing here, so
it prints an empty string and the page is unchanged. The Suite's Study
hub (modules/hub) puts its band here.

@param string $html       Markup to print (default '').
@param int    $user_id    The student.
@param int[]  $course_ids The courses on their shelf.

am_funnel_lead_busy

Filter. One call site.

  • modules/lms/includes/class-am-privacy.php:432 · Free, Core, Complete · passes false, $id, $cutoff

am_funnel_lead_pruned

Action. One call site.

  • modules/lms/includes/class-am-privacy.php:435 · Free, Core, Complete · passes $id

am_land_outcard_file

Filter. One call site.

  • modules/lms/includes/class-am-course-landing.php:1855 · Free, Core, Complete · passes AM_LMS_PLUGIN_DIR . 'public/outcards/' . $slug . '.svg', $slug

From the docblock at modules/lms/includes/class-am-course-landing.php:1855:

Where an idea card's SVG lives (default: the LMS module's public/outcards/<slug>.svg).

@param string $file Path.
@param string $slug The slug after `cbs:`.

am_lesson_widget_notes

Filter. One call site.

  • modules/lms/includes/class-am-lesson-widgets.php:170 · Free, Core, Complete · passes $widget, $lesson_id, $user_id

From the docblock at modules/lms/includes/class-am-lesson-widgets.php:170:

HUB1 (LB-271, spec §2, H-D6): the notes widget, before it prints.
The Suite's Study hub renames it Study and puts the notebook in
the first of its tabs; nothing in the free plugin hooks it, so the
widget prints exactly as before. Still one pill: this filter can
change what the notes pill holds, never add a third.

@param array $widget    { label, body (escaped markup), class (extra widget class) }.
@param int   $lesson_id The lesson.
@param int   $user_id   The student.

am_lms_can_complete_lesson

Filter. 2 call sites.

  • modules/connect/includes/class-cb-connect-api.php:1314 · Core, Complete · passes true, $uid, $lesson_id, $course_id
  • modules/lms/includes/class-am-progress.php:699 · Free, Core, Complete · passes true, $user_id, $lesson_id, $course_id

From the docblock at modules/lms/includes/class-am-progress.php:699:

Allow modules to block completion (e.g. a required quiz not yet
passed). Return true to allow, or a message string to block.

@param true|string $can       Verdict.
@param int         $user_id   User ID.
@param int         $lesson_id Lesson ID.
@param int         $course_id Course ID.

am_lms_course_completed

Action. 2 call sites.

  • modules/connect/includes/class-cb-connect-api.php:1349 · Core, Complete · passes $uid, $course_id
  • modules/lms/includes/class-am-progress.php:743 · Free, Core, Complete · passes $user_id, $course_id

am_lms_demo_box

Action. One call site.

  • modules/lms/includes/class-am-demo.php:48 · Free, Core, Complete · passes nothing

From the docblock at modules/lms/includes/class-am-demo.php:48:

A site's own demo course, if a loader plugin supplies one (S4: the
course demo left the product with the course it demonstrated).

am_lms_focus_mode_enabled

Filter. One call site.

  • modules/lms/includes/class-am-focus-mode.php:86 · Free, Core, Complete · passes $enabled, $course_id

From the docblock at modules/lms/includes/class-am-focus-mode.php:86:

Filter whether Focus Mode is enabled for a course.

@param bool $enabled   Verdict.
@param int  $course_id Course ID.

am_lms_help_url

Filter. One call site.

  • modules/lms/includes/class-am-first-run.php:159 · Free, Core, Complete · passes $default, $slug

am_lms_lesson_completed

Action. 2 call sites.

  • modules/connect/includes/class-cb-connect-api.php:1338 · Core, Complete · passes $uid, $lesson_id, $course_id
  • modules/lms/includes/class-am-progress.php:730 · Free, Core, Complete · passes $user_id, $lesson_id, $course_id

From the docblock at modules/lms/includes/class-am-progress.php:730:

Fires when a lesson is completed.

@param int $user_id   User ID.
@param int $lesson_id Lesson ID.
@param int $course_id Course ID.

am_lms_lesson_uncompleted

Action. One call site.

  • modules/lms/includes/class-am-progress.php:843 · Free, Core, Complete · passes $user_id, $lesson_id, $course_id

From the docblock at modules/lms/includes/class-am-progress.php:843:

Fires when a lesson completion is removed.

@param int $user_id   User ID.
@param int $lesson_id Lesson ID.
@param int $course_id Course ID.

am_lms_module_completed

Action. 2 call sites.

  • modules/connect/includes/class-cb-connect-api.php:1342 · Core, Complete · passes $uid, $module_id, $course_id
  • modules/lms/includes/class-am-progress.php:735 · Free, Core, Complete · passes $user_id, $module_id, $course_id

am_lms_optional_label

Filter. One call site.

  • modules/lms/includes/class-am-progress.php:273 · Free, Core, Complete · passes __( 'Bonus', 'lms-blueprint' )

From the docblock at modules/lms/includes/class-am-progress.php:273:

The word that marks an optional module.

@param string $label Default «Bonus».

am_lms_quiz_attempt_recorded

Action. One call site.

  • modules/lms/includes/class-am-quiz-grade.php:455 · Free, Core, Complete · passes (int) $user, (int) $quiz_id

From the docblock at modules/lms/includes/class-am-quiz-grade.php:455:

A quiz attempt is stored (PROGRESS-CACHE1, LBS-255): the student's cached pages are now out of date.

@param int $user    Student.
@param int $quiz_id Quiz.

am_lms_student_enrolled

Action. One call site.

  • modules/lms/includes/class-am-enrolment.php:228 · Free, Core, Complete · passes $user_id, $course_id

From the docblock at modules/lms/includes/class-am-enrolment.php:228:

Fires after a student is enrolled in a course.

@param int $user_id   User ID.
@param int $course_id Course ID.

am_lms_student_unenrolled

Action. One call site.

  • modules/lms/includes/class-am-admin.php:1001 · Free, Core, Complete · passes $user_id, $course_id, 'manual'

From the docblock at modules/lms/includes/class-am-admin.php:1001:

Fires after a student is removed from a course by hand on the Students screen.

@param int    $user_id   User ID.
@param int    $course_id Course ID.
@param string $how       'manual'.

am_lms_terms_page_id

Filter. 2 call sites.

  • modules/lms/includes/class-am-course-landing.php:1066 · Free, Core, Complete · passes $page ? (int) $page->ID : 0
  • shared/class-cb-checkout-terms.php:72 · Free, Core, AI, Complete · passes $page ? (int) $page->ID : 0

am_quiz_extra_keyless

Filter. One call site.

  • modules/lms/includes/class-am-quiz.php:387 · Free, Core, Complete · passes false, $q

am_quiz_extra_types

Filter. One call site.

  • modules/lms/includes/class-am-quiz.php:40 · Free, Core, Complete · passes array()

am_quiz_grade_extra

Filter. 2 call sites.

  • modules/connect/includes/class-cb-connect-api.php:1615 · Core, Complete · passes null, $q, $answers[ $qid ] ?? null, $sig
  • modules/lms/includes/class-am-quiz-grade.php:270 · Free, Core, Complete · passes null, $q, $ans, $sig

am_quiz_render_extra

Filter. One call site.

  • modules/lms/includes/class-am-quiz-render.php:156 · Free, Core, Complete · passes '', $q, $sig

am_quiz_sanitise_extra

Filter. One call site.

  • modules/lms/includes/class-am-quiz.php:442 · Free, Core, Complete · passes null, $q, $mode, $base

am_rest_gated_post_types

Filter. One call site.

  • modules/lms/includes/class-am-rest-gating.php:76 · Free, Core, Complete · passes array( 'am_lesson' )

am_sitemap_advertise_authors

Filter. One call site.

  • modules/lms/includes/class-am-sitemap.php:61 · Free, Core, Complete · passes false

From the docblock at modules/lms/includes/class-am-sitemap.php:61:

This filter is documented in maybe_drop_users().

am_sitemap_utility_pages

Filter. One call site.

  • modules/lms/includes/class-am-sitemap.php:128 · Free, Core, Complete · passes $ids

From the docblock at modules/lms/includes/class-am-sitemap.php:128:

Filter the pages kept out of the sitemap and marked noindex.

@param int[] $ids Page IDs.

am_sitemap_withdrawn_lessons

Filter. One call site.

  • modules/lms/includes/class-am-sitemap.php:234 · Free, Core, Complete · passes $out

From the docblock at modules/lms/includes/class-am-sitemap.php:234:

Filter the lessons withdrawn from the sitemap.

@param int[] $out Lesson IDs.

am_social_meta_enabled

Filter. One call site.

  • modules/lms/includes/class-am-social-meta.php:93 · Free, Core, Complete · passes ! self::seo_plugin_active()

From the docblock at modules/lms/includes/class-am-social-meta.php:93:

Filter whether the platform prints its fallback og:/twitter: tags.

@param bool $enabled Default: no known SEO plugin is active.

am_social_meta_tags

Filter. One call site.

  • modules/lms/includes/class-am-social-meta.php:171 · Free, Core, Complete · passes $tags, $id

From the docblock at modules/lms/includes/class-am-social-meta.php:171:

Filter the fallback share tags (name => content). Empty values are
not printed.

@param array $tags Tags.
@param int   $id   Queried post ID (0 on the front page of posts).

am_stripe_course_checkout_args

Filter. One call site.

  • modules/payments/includes/class-am-stripe.php:954 · Core, Complete · passes $args, (int) $course_id

From the docblock at modules/payments/includes/class-am-stripe.php:954:

AICAP1 (LB-280): the course door's Stripe session arguments, last.
The AI add-on adds the course's fair-use line here as
`custom_text.submit.message` (Stripe: «up to 1200 characters»).

@param array $args      Checkout Session arguments.
@param int   $course_id Course being bought.

am_work_context_exclude

Filter. One call site.

  • modules/coursework/includes/class-am-work.php:401 · Core, Complete · passes (array) $exclude, (int) $user_id, (int) $lesson_id

From the docblock at modules/coursework/includes/class-am-work.php:401:

Keys the AI readers leave out (AIREVIEW1): the AI add-on answers it
with the fields of blocks an author switched out of the AI review.
Unanswered, the list is the caller's own, as before.

@param string[] $exclude   Keys the caller leaves out.
@param int      $user_id   User.
@param int      $lesson_id Lesson.

cb_account_after_shelf

Action. One call site.

  • modules/lms/includes/class-am-accounts.php:342 · Free, Core, Complete · passes $user

From the docblock at modules/lms/includes/class-am-accounts.php:342:

Everything this account holds that isn't a course, printed after the shelf.

The storefront hangs the account's orders here (its licences and
downloads moved above the shelf, cb_account_before_shelf). Each section
renders only when it has rows, so an account with courses alone looks
as it did before.

@param WP_User $user The logged-in user.

cb_account_before_shelf

Action. One call site.

  • modules/lms/includes/class-am-accounts.php:328 · Free, Core, Complete · passes $user

From the docblock at modules/lms/includes/class-am-accounts.php:328:

What this account holds, printed above the course shelf.

The storefront hangs licences and downloads here, and the files
module the files a student owns. Each section renders only when it has
rows, so an account with courses alone looks as it did before.

@param WP_User $user The logged-in user.

cb_account_forum_url

Filter. One call site.

  • modules/lms/includes/class-am-accounts.php:390 · Free, Core, Complete · passes '', (int) $user_id

From the docblock at modules/lms/includes/class-am-accounts.php:390:

The address of the forum for this student's account page, or '' for none.

@param string $url     '' (no forum).
@param int    $user_id The student.

cb_account_heading_h1

Filter. One call site.

  • modules/lms/includes/class-am-accounts.php:416 · Free, Core, Complete · passes $holds, $id

From the docblock at modules/lms/includes/class-am-accounts.php:416:

Whether the account block's top heading is the page's H1.

@param bool $holds True under the theme's `page-no-title` template.
@param int  $id    The page the block is on (0 if unknown).

cb_account_settings

Action. One call site.

  • modules/lms/includes/class-am-accounts.php:362 · Free, Core, Complete · passes $user

From the docblock at modules/lms/includes/class-am-accounts.php:362:

One line per setting in the account's «Privacy and settings» area.

@param WP_User $user The logged-in user.

cb_accounts_registration_open

Filter. One call site.

  • modules/lms/includes/class-am-accounts.php:150 · Free, Core, Complete · passes (bool) get_option( 'users_can_register' )

cb_advanced_admin

Filter. 2 call sites.

  • modules/feedback/module.php:27 · AI, Complete · passes (bool) get_option( 'cb_advanced_admin', false )
  • modules/lms/module.php:39 · Free, Core, Complete · passes (bool) get_option( 'cb_advanced_admin', false )

cb_ai_buy_url

Filter. 2 call sites.

  • modules/feedback/includes/class-cb-ai-licence-panel.php:45 · AI, Complete · passes ''
  • modules/upsell/includes/class-cb-upsell-panel.php:60 · Core, Complete · passes ''

From the docblock at modules/upsell/includes/class-cb-upsell-panel.php:60:

Filter the AI add-on's purchase URL. Empty by default (S4): the
product does not guess a shop address; a site that sells the add-on
sets it.

@param string $url Checkout/pricing URL.

cb_ai_expected_sku

Filter. One call site.

  • modules/feedback/includes/class-cb-ai-licence.php:79 · AI, Complete · passes self::SKU

From the docblock at modules/feedback/includes/class-cb-ai-licence.php:79:

Filter the SKU the AI add-on expects on its licence keys.

@param string $sku SKU.

cb_ai_feature_labels

Filter. One call site.

  • modules/feedback/includes/class-cb-ai-dashboard.php:321 · AI, Complete · passes $labels

cb_ai_feed_url

Filter. One call site.

  • modules/feedback/includes/class-cb-ai-feed.php:165 · AI, Complete · passes self::URL

cb_ai_feedback_recorded

Action. 4 call sites.

  • modules/coursework/includes/class-am-lesson-workbook.php:773 · Core, Complete · passes $user, array( 'panel_id' => 0, 'course_id' => $course_id, 'lesson_id' => $lesson_id, 'payload' => self::record_summary( $config, $gathered ), 'rating' => '', '…
  • modules/coursework/includes/class-lmsb-submissions.php:564 · Core, Complete · passes (int) $sub->user_id, array( 'panel_id' => 0, 'course_id' => (int) $sub->course_id, 'lesson_id' => (int) $sub->lesson_id, 'payload' => self::summary( $sub ), 'r…
  • modules/feedback/includes/class-cb-ai-proxy.php:573 · AI, Complete · passes $user, array( 'panel_id' => $panel_id, 'course_id' => $course_id, 'lesson_id' => $lesson_id, 'payload' => $payload, 'rating' => $rating, 'feedback' => $result,…
  • modules/lms/includes/class-am-quiz-grade.php:468 · Free, Core, Complete · passes $user, array( 'panel_id' => 0, 'course_id' => $course_id, 'lesson_id' => $lesson_id, 'payload' => $summary, 'rating' => '', 'feedback' => $coach ? mb_substr( $…

From the docblock at modules/feedback/includes/class-cb-ai-proxy.php:573:

Fires after feedback is given — the Folio records the attempt. The row
lands in the `cb_passport_stamps` table, whose name is a machine
identifier and does not move (R40).

@param int   $user Student ID.
@param array $data Submission context + result.

cb_ai_prior_context

Filter. 4 call sites.

  • modules/coursework/includes/class-am-lesson-workbook.php:1506 · Core, Complete · passes '', $user, $course_id, $lesson_id
  • modules/feedback/includes/class-cb-ai-proxy.php:483 · AI, Complete · passes '', $user, $course_id, $lesson_id
  • modules/lms/includes/class-am-lesson-memory.php:1380 · Free, Core, Complete · passes '', $user_id, $course_id, $lesson_id
  • modules/lms/includes/class-am-quiz-grade.php:634 · Free, Core, Complete · passes '', $user, $course_id, $lesson_id

From the docblock at modules/feedback/includes/class-cb-ai-proxy.php:483:

The Folio injects the learner's prior course context here so the
AI's feedback is continuity-aware. Empty if the Folio isn't active.

cb_ai_route_features

Filter. One call site.

  • modules/feedback/includes/class-cb-ai-settings.php:382 · AI, Complete · passes $f

Action. One call site.

  • modules/feedback/includes/class-cb-ai-settings.php:1661 · AI, Complete · passes nothing

From the docblock at modules/feedback/includes/class-cb-ai-settings.php:1661:

Fires at the foot of the LMS Blueprint AI settings page — the LMS
uses this to offer the demo course installer here too.

cb_ai_usage_prices

Filter. One call site.

  • modules/feedback/includes/class-cb-ai-usage.php:272 · AI, Complete · passes $prices

cb_ai_usage_retention_days

Filter. One call site.

  • modules/feedback/includes/class-cb-ai-usage.php:152 · AI, Complete · passes 365

cb_ai_work_context

Filter. 4 call sites.

  • modules/feedback/includes/class-cb-ai-proxy.php:392 · AI, Complete · passes '', $user, $lesson_id, self::MAX_WORK_CHARS
  • modules/lms/includes/class-am-lesson-memory.php:1386 · Free, Core, Complete · passes '', $user_id, $lesson_id, self::MAX_WORK_CHARS
  • modules/lms/includes/class-am-lesson-memory.php:1398 · Free, Core, Complete · passes '', $user_id, $src['prev'], self::MAX_WORK_CHARS
  • modules/passport/includes/class-cb-passport.php:575 · AI, Complete · passes '', $user, $lesson_id, 4000

cb_app_embed_lesson_id

Filter. One call site.

  • modules/coursework/includes/class-am-lesson-app-embed.php:400 · Core, Complete · passes $lesson, $url

From the docblock at modules/coursework/includes/class-am-lesson-app-embed.php:400:

The lesson an app embed is rendering in. The web hands it over in the
loop; a renderer outside the loop (an API) may name it here.

@param int    $lesson Lesson ID, or 0.
@param string $url    The embed's URL.

cb_app_library_dir

Filter. One call site.

  • modules/webapps/includes/class-cb-app-library.php:143 · Core, Complete · passes $dir

cb_branded_account_doors

Filter. One call site.

  • modules/lms/includes/class-am-account-doors.php:165 · Free, Core, Complete · passes true

cb_checkout_payment_pending

Action. 2 call sites.

  • modules/payments/includes/class-am-stripe.php:423 · Core, Complete · passes array( 'reference' => isset( $session['id'] ) ? sanitize_text_field( (string) $session['id'] ) : '' )
  • modules/storefront/includes/class-cb-store-webhook.php:140 · Core, Complete, Store add-on · passes array( 'reference' => isset( $obj['id'] ) ? sanitize_text_field( (string) $obj['id'] ) : '' )

From the docblock at modules/payments/includes/class-am-stripe.php:423:

A Checkout session completed but its payment has not cleared yet
(a delayed method such as Bacs or ACH). Nothing is granted.

@param array $payload { reference: Stripe session ID }.

cb_checkout_require_terms

Filter. One call site.

  • shared/class-cb-checkout-terms.php:90 · Free, Core, AI, Complete · passes '' !== self::terms_url()

From the docblock at shared/class-cb-checkout-terms.php:90:

Filter whether Checkout Sessions require terms-of-service consent.

@param bool $required Default: the site has a published terms page.

cb_checkout_started

Action. 2 call sites.

  • modules/payments/includes/class-am-stripe.php:848 · Core, Complete · passes sanitize_text_field( $session['id'] ), sanitize_email( $session['customer_email'] ), get_current_user_id(), 'course', $course_id
  • modules/storefront/includes/class-cb-store-checkout.php:304 · Core, Complete, Store add-on · passes sanitize_text_field( $session['id'] ), sanitize_email( $session['customer_email'] ), get_current_user_id(), $kind, (int) $object_id

From the docblock at modules/payments/includes/class-am-stripe.php:848:

A checkout session was created for a known email address.

@param string $session_id Stripe session ID.
@param string $email      Buyer email.
@param int    $user_id    User ID.
@param string $kind       course|product.
@param int    $object_id  Course ID.

cb_core_login_cap

Filter. One call site.

  • modules/lms/includes/class-am-account-doors.php:194 · Free, Core, Complete · passes 'edit_posts'

cb_countdown_autoregister

Filter. One call site.

  • modules/design/class-cb-blocks.php:183 · Core, Complete · passes $supported && $opted_in, $supported

From the docblock at modules/design/class-cb-blocks.php:183:

Filter the countdown's PHP-only registration prototype.

@param bool $on        Whether to use the autoRegister path.
@param bool $supported Whether this WP supports it at all.

cb_course_health_http

Filter. One call site.

  • modules/lms/includes/class-am-course-health.php:694 · Free, Core, Complete · passes null, $abs

cb_course_health_match_url

Filter. One call site.

  • modules/lms/includes/class-am-course-health.php:986 · Free, Core, Complete · passes '', $course_id, $m['no_interactive']

cb_course_health_resolve

Filter. One call site.

  • modules/lms/includes/class-am-course-health.php:734 · Free, Core, Complete · passes null, $url

cb_course_health_review_url

Filter. One call site.

  • modules/lms/includes/class-am-course-health.php:1067 · Free, Core, Complete · passes '', $course_id

cb_download_renewed

Action. One call site.

  • modules/storefront/includes/class-cb-store-download.php:163 · Core, Complete, Store add-on · passes (int) $row->id, $row

From the docblock at modules/storefront/includes/class-cb-store-download.php:163:

A download link was renewed.

@param int    $grant_id Download row ID.
@param object $row      The grant row as it stood before renewal.

cb_email_events

Filter. One call site.

  • modules/lms/includes/class-am-mailer.php:198 · Free, Core, Complete · passes $events

From the docblock at modules/lms/includes/class-am-mailer.php:198:

Filter the email event registry.

@param array $events Event definitions keyed by slug.

cb_files_admin_bypass

Filter. One call site.

  • modules/files/includes/class-cb-files-entitlements.php:108 · Core, Complete, Store add-on · passes $bypass, (int) $user_id

cb_files_mime_map

Filter. One call site.

  • modules/files/includes/class-cb-files-storage.php:32 · Core, Complete, Store add-on · passes array( 'html' => 'text/html; charset=utf-8', 'htm' => 'text/html; charset=utf-8', 'css' => 'text/css; charset=utf-8', 'js' => 'application/javascript; charset=…

cb_files_open_paths

Filter. One call site.

  • modules/files/includes/class-cb-files-gate.php:127 · Core, Complete, Store add-on · passes array( 'index.html' )

cb_files_served

Action. One call site.

  • modules/files/includes/class-cb-files-gate.php:243 · Core, Complete, Store add-on · passes $rel, $user_id, $file

From the docblock at modules/files/includes/class-cb-files-gate.php:243:

An entitled file is about to be served.

@param string $rel     Relative path.
@param int    $user_id User.
@param string $file    Absolute path.

cb_included_sub_trial_days

Filter. One call site.

  • modules/storefront/includes/class-cb-store-checkout.php:350 · Core, Complete, Store add-on · passes 365, (int) $product_id, $sub_id

From the docblock at modules/storefront/includes/class-cb-store-checkout.php:350:

Filter the included-subscription trial length in days.

@param int $days       Trial days (default 365 — "the first year").
@param int $product_id The one-off product.
@param int $sub_id     The subscription product.

cb_lesson_allowed_blocks

Filter. One call site.

  • modules/lms/includes/class-am-lesson-editor.php:283 · Free, Core, Complete · passes $blocks

From the docblock at modules/lms/includes/class-am-lesson-editor.php:283:

Filter the blocks a lesson author may insert.

Grows one line at a time as Phase 0 ships components.

@param string[] $blocks Allowed block names.

cb_lesson_display_default

Filter. 2 call sites.

  • modules/connect/includes/class-cb-connect-api.php:896 · Core, Complete · passes $default, $lesson_id
  • modules/lms/includes/class-am-lesson-reader.php:187 · Free, Core, Complete · passes $default, $lesson_id

From the docblock at modules/lms/includes/class-am-lesson-reader.php:187:

Filter the site-wide default lesson display mode.

@param string $default   'scroll' or 'cards'.
@param int    $lesson_id Lesson ID.

cb_lesson_handbook_rows

Filter. One call site.

  • modules/lms/includes/class-am-lesson-handbook.php:477 · Free, Core, Complete · passes array()

cb_lesson_handbook_table

Filter. One call site.

  • modules/lms/includes/class-am-lesson-handbook.php:331 · Free, Core, Complete · passes $table

cb_lesson_patterns

Filter. One call site.

  • modules/lms/includes/class-am-lesson-patterns.php:195 · Free, Core, Complete · passes $rows

cb_lesson_render_start

Action. 3 call sites.

  • modules/feedback/includes/class-cb-ai-review-scope.php:342 · AI, Complete · passes nothing
  • modules/feedback/includes/class-cb-ai-review-scope.php:358 · AI, Complete · passes nothing
  • modules/lms/includes/class-am-cards.php:100 · Free, Core, Complete · passes $raw

From the docblock at modules/lms/includes/class-am-cards.php:100:

A lesson body is about to be rendered.

Added by card L5 session 2. Components that number their own output
across a render pass — the capture family derives each field's `id`
from a running per-stem counter — need one signal that a NEW pass is
starting, or a second render in the same PHP process continues the
first one's numbering and the two consumers name the same field
differently.

It fires HERE rather than being called by each consumer because
"every caller remembers to reset first" is a polite guard: it holds
exactly until someone adds a caller, and it fails silently and
invisibly when they don't. This was not hypothetical — the L5
block/shortcode parity test rendered two bodies in one process and
went red on precisely that, which is how the design got fixed.

The web does not come through here (core's own `the_content` chain
does the equivalent work in place), so a component that hooks this
must ALSO hook `the_content` early. `AM_Lesson_Capture` does both.

This is additive: it changes no segmentation rule and no byte of
output.

cb_licence_seats

Filter. One call site.

  • modules/storefront/includes/class-cb-store-licences.php:869 · not in a sold zip (the selling site’s Licensed build) · passes $seats, $lic

From the docblock at modules/storefront/includes/class-cb-store-licences.php:869:

Filter a licence's seat count (per-key overrides).

@param int    $seats Seat count.
@param object $lic   Licence row.

cb_licence_sku_grants

Filter. One call site.

  • modules/storefront/includes/class-cb-store-licences.php:754 · not in a sold zip (the selling site’s Licensed build) · passes $granted, $lic_sku, $want

From the docblock at modules/storefront/includes/class-cb-store-licences.php:754:

Filter the SKUs a key's own SKU additionally entitles.

@param array  $granted Additional SKUs granted.
@param string $lic_sku SKU on the key.
@param string $want    SKU the caller asked for.

cb_licence_sku_windows

Filter. One call site.

  • modules/storefront/includes/class-cb-store-licences.php:791 · not in a sold zip (the selling site’s Licensed build) · passes $windows, $lic

From the docblock at modules/storefront/includes/class-cb-store-licences.php:791:

Filter the per-SKU entitlement windows a key's SKU carries.

@param array  $windows Map of licence SKU => (wanted SKU => seconds).
@param object $lic     Licence row.

cb_licence_store_url

Filter. One call site.

  • shared/class-cb-licence-client.php:46 · Core, AI, Complete · passes self::default_store()

From the docblock at shared/class-cb-licence-client.php:46:

Filter the mother store's base URL for licence calls.

@param string $url Base URL, with trailing slash.

cb_login_slugs

Filter. One call site.

  • modules/lms/includes/class-am-account-doors.php:718 · Free, Core, Complete · passes array( 'login', 'log-in', 'signin', 'sign-in' )

cb_nudge_is_test_or_staff

Filter. One call site.

  • modules/lms/includes/class-am-nudges.php:721 · Free, Core, Complete · passes $hit, $email, (int) $user_id, (string) $session_id

cb_product_external_buy_label

Filter. 3 call sites.

  • modules/design/library/class-lmsb-store.php:326 · Core, Complete · passes __( 'Buy the paperback on Amazon', 'lms-blueprint' ), $id
  • modules/storefront/includes/class-cb-store-catalogue.php:1595 · Core, Complete, Store add-on · passes __( 'Buy the paperback on Amazon', 'lms-blueprint' ), $id
  • modules/storefront/includes/class-cb-store-single.php:181 · Core, Complete, Store add-on · passes __( 'Buy the paperback on Amazon', 'lms-blueprint' ), $id

From the docblock at modules/storefront/includes/class-cb-store-catalogue.php:1595:

Filter the label on the external buy link.

@param string $label Label.
@param int    $id    Product ID.

cb_product_period_label

Filter. 3 call sites.

  • modules/design/library/class-lmsb-store.php:137 · Core, Complete · passes __( 'per year', 'lms-blueprint' ), $id
  • modules/storefront/includes/class-cb-store-catalogue.php:1526 · Core, Complete, Store add-on · passes __( 'per year', 'lms-blueprint' ), $id
  • modules/storefront/includes/class-cb-store-single.php:137 · Core, Complete, Store add-on · passes __( 'per year', 'lms-blueprint' ), $id

From the docblock at modules/design/library/class-lmsb-store.php:137:

This filter is documented in class-cb-store-catalogue.php

cb_purchase_completed

Action. 2 call sites.

  • modules/payments/includes/class-am-stripe.php:627 · Core, Complete · passes array( 'email' => $email, 'user_id' => (int) $user_id, 'object_id' => (int) $course_id, 'type' => 'course', 'name' => $name, 'amount' => isset( $session['amoun…
  • modules/storefront/includes/class-cb-store-webhook.php:449 · Core, Complete, Store add-on · passes array( 'email' => $email, 'user_id' => (int) $user_id, 'object_id' => (int) $object_id, 'type' => (string) $type, 'amount' => $amount, 'currency' => (string) $…

From the docblock at modules/payments/includes/class-am-stripe.php:627:

A purchase completed. Pure notification — fulfilment already happened
above and does not depend on anyone listening.

@param array $payload Purchase payload.

cb_rag_autoindex_types

Filter. One call site.

  • modules/rag/includes/class-cb-rag-autoindex.php:59 · AI, Complete · passes array( 'am_lesson', 'am_course', 'page' )

cb_rag_daily_limit

Filter. 2 call sites.

  • modules/connect/includes/class-cb-connect-api.php:1826 · Core, Complete · passes (int) get_option( 'cb_ai_tutor_daily_limit', 40 )
  • modules/rag/includes/class-cb-rag-query.php:365 · AI, Complete · passes (int) get_option( 'cb_ai_tutor_daily_limit', 40 )

cb_rag_fence_exempt_reasons

Filter. One call site.

  • modules/rag/includes/class-cb-rag-query.php:125 · AI, Complete · passes array( 'unreleased', 'locked' ), $user_id

From the docblock at modules/rag/includes/class-cb-rag-query.php:125:

`AM_Access` refusals that do NOT hide material from the tutor.

🔴 THE FENCE GUARDS THE ENROLMENT BOUNDARY, NOT THE PACING BOUNDARY.
AM_Access refuses for four reasons and only two of them are
entitlement:

  not_enrolled · prereq   — the reader has not bought/earned the course.
  unreleased   · locked   — the reader HAS bought it; this is pacing.

The list is of EXEMPTIONS, and from row 473 (17 Sep 2026) it
defaults to the two PACING reasons. A student who has paid for a
course can ask the tutor about the whole of it, spoilers and all;
drip and prerequisite order are teaching devices, and the tutor is
not the instrument that enforces them. The two ENTITLEMENT reasons
are absent from this list and that is what keeps the fence a fence.

⚑ THE DEFAULT IS A LIST OF NAMED REASONS, NEVER A BLANKET. A fifth
refusal reason AM_Access ever grows is NOT on this list, so it blocks
until somebody rules on it deliberately — which is the polarity that
made the empty default safe and is the only part of it worth keeping.
Do not "simplify" this to a boolean or to `'' !== $verdict`.

⚑ Still a seat: a customer who wants the stricter fence filters this
back to `array()` and gets AM_Access verbatim again.

Held by `modules/lms/tests/test-tutor-fence.php` §9c, red before
green — and by the non-buyer assertions in that section, which are
the ones that matter: widening a default is the change most likely to
widen it past where it was meant to stop.

@param string[] $exempt  Refusal strings that do NOT block retrieval.
@param int      $user_id Reader.

cb_rag_retrieval_fence

Filter. One call site.

  • modules/rag/includes/class-cb-rag-query.php:89 · AI, Complete · passes 'narrow', $user_id

From the docblock at modules/rag/includes/class-cb-rag-query.php:89:

The fence's shape (card A6 §3). 'narrow' answers from the lessons the
reader may open; 'refuse' answers nothing at all to a reader who may
open none of the scoped course. 'narrow' is the default because a
customer's students are mid-course by definition.

@param string $shape   narrow | refuse.
@param int    $user_id Reader.

cb_rag_workshop_types

Filter. One call site.

  • modules/rag/includes/class-cb-rag-workshop-autoindex.php:60 · AI, Complete · passes array( 'am_lesson' )

cb_reader_auto_pace

Filter. One call site.

  • modules/lms/includes/class-am-lesson-reader.php:624 · Free, Core, Complete · passes true, (int) get_the_ID()

cb_reader_beat_ai_label

Filter. One call site.

  • modules/lms/includes/class-am-lesson-reader.php:655 · Free, Core, Complete · passes __( 'Where you left off · an AI recap of your earlier lessons', 'lms-blueprint' )

cb_site_copy

Filter. 9 call sites.

  • modules/design/class-cb-blocks.php:53 · Core, Complete · passes '', 'blocks.pricing-table.tiers'
  • modules/design/class-cb-blocks.php:63 · Core, Complete · passes '', 'blocks.testimonials.quotes'
  • modules/design/class-cb-home-blocks.php:176 · Core, Complete · passes '', 'home.' . $block . '.' . $key
  • modules/lms/includes/class-am-catalogue.php:931 · Free, Core, Complete · passes '', $key
  • modules/storefront/includes/class-cb-store-catalogue.php:727 · Core, Complete, Store add-on · passes '', 'store.category.' . $slot
  • modules/storefront/includes/class-cb-store-catalogue.php:1254 · Core, Complete, Store add-on · passes '', 'store.empty_title'
  • modules/storefront/includes/class-cb-store-catalogue.php:1256 · Core, Complete, Store add-on · passes '', 'store.empty_sub'
  • modules/storefront/includes/class-cb-store-resources.php:194 · Core, Complete, Store add-on · passes '', 'store.resources.sub'
  • shared/class-cb-site-words.php:102 · Free, Core, AI, Complete · passes '', $key

cb_store_assets_dir

Filter. One call site.

  • modules/storefront/includes/class-cb-store-assets.php:103 · not in a sold zip (the selling site’s Licensed build) · passes $dir

From the docblock at modules/storefront/includes/class-cb-store-assets.php:103:

Filter the served-assets folder.

@param string $dir Absolute path.

cb_store_assets_rate_limit

Filter. One call site.

  • modules/storefront/includes/class-cb-store-assets.php:480 · not in a sold zip (the selling site’s Licensed build) · passes self::RATE_LIMIT

From the docblock at modules/storefront/includes/class-cb-store-assets.php:480:

Filter the served-assets requests one key may make per hour.

@param int $n Default 1200.

cb_store_book_label

Filter. One call site.

  • modules/webapps/includes/class-lmsb-app-facets.php:436 · Core, Complete · passes $title, absint( $pid )

From the docblock at modules/webapps/includes/class-lmsb-app-facets.php:436:

The label a source toolkit wears on the «From the book» chips and on
a tool tile. Default: the product's title.

@param string $title Label.
@param int    $pid   Toolkit product.

cb_store_cart_checkout_args

Filter. One call site.

  • modules/storefront/includes/class-cb-store-cart.php:1012 · Core, Complete, Store add-on · passes $args, $cart_meta

From the docblock at modules/storefront/includes/class-cb-store-cart.php:1012:

AICAP1 (LB-280): the cart door's Stripe session arguments, last. The AI
add-on adds the fair-use line of the courses in the cart as
`custom_text.submit.message` (Stripe: «up to 1200 characters»).

@param array $args      Checkout Session arguments.
@param array $cart_meta What is charged: list of array( type, id ).

cb_store_catalogue_html

Filter. One call site.

  • modules/storefront/includes/class-cb-store-catalogue.php:390 · Core, Complete, Store add-on · passes '', $this->shelf( $courses, $products )

cb_store_course_download_ids

Filter. One call site.

  • modules/storefront/includes/class-cb-store-products.php:663 · Core, Complete, Store add-on · passes $out, $course_id, $product_id

From the docblock at modules/storefront/includes/class-cb-store-products.php:663:

The download products a course purchase includes.

@param int[] $out        Product IDs.
@param int   $course_id  Course.
@param int   $product_id Course product, or 0 for a direct course line.

cb_store_course_toolkit_id

Filter. One call site.

  • modules/storefront/includes/class-cb-store-products.php:603 · Core, Complete, Store add-on · passes $toolkit, $course_id, $product_id

From the docblock at modules/storefront/includes/class-cb-store-products.php:603:

The toolkit a course purchase includes.

@param int $toolkit    Toolkit product ID (0 = none).
@param int $course_id  Course.
@param int $product_id Course product, or 0 for a direct course line.

cb_store_launch_bonus

Action. One call site.

  • modules/storefront/includes/class-cb-store-webhook.php:865 · Core, Complete, Store add-on · passes array( 'order_id' => (int) $order_id, 'email' => (string) $email, 'user_id' => (int) $user_id, 'product_id' => (int) $product_id, 'product' => $slug, 'billing'…

From the docblock at modules/storefront/includes/class-cb-store-webhook.php:865:

A purchase of a plan that products.json marks `launch_bonus` (its first payment). No LMS Blueprint plan is
marked (LBS-104, LBW-034), so this does not fire on a shipped products.json.

@param array $payload order_id, email, user_id, product_id, product (products.json slug), billing.

cb_store_local_copies

Filter. One call site.

  • modules/storefront/includes/class-cb-store-licences.php:367 · not in a sold zip (the selling site’s Licensed build) · passes self::LOCAL_COPIES

From the docblock at modules/storefront/includes/class-cb-store-licences.php:367:

Filter the number of local copies (localhost, *.test, *.local) one key may hold.

@param int $n Default 3.

cb_store_order_revoked

Action. One call site.

  • modules/storefront/includes/class-cb-store-webhook.php:2109 · Core, Complete, Store add-on · passes $order_id, $out

From the docblock at modules/storefront/includes/class-cb-store-webhook.php:2109:

An order's access was revoked on a full refund.

@param int   $order_id Order row.
@param array $out      Counts.

cb_store_owned_product_ids

Filter. One call site.

  • modules/storefront/includes/class-cb-store-account.php:985 · Core, Complete, Store add-on · passes $out, $user

From the docblock at modules/storefront/includes/class-cb-store-account.php:985:

Filter the products an account owns.

@param int[]   $out  Product IDs.
@param WP_User $user The account.

cb_store_plan_prefer_founder

Filter. One call site.

  • modules/storefront/includes/class-cb-store-plan-toggle.php:133 · Core, Complete, Store add-on · passes true, $slug

From the docblock at modules/storefront/includes/class-cb-store-plan-toggle.php:133:

Filter whether a founder entry wins over a standard one for the same billing.

@param bool   $prefer True by default.
@param string $slug   Product slug.

cb_store_plan_saving_line

Filter. One call site.

  • modules/storefront/includes/class-cb-store-plans.php:147 · Core, Complete, Store add-on · passes $v

From the docblock at modules/storefront/includes/class-cb-store-plans.php:147:

Filter how the yearly saving is worded (amount | percent).

@param string $v From products.json; '' when it names none.

cb_store_plan_slug

Filter. One call site.

  • modules/storefront/includes/class-cb-store-plan-toggle.php:70 · Core, Complete, Store add-on · passes $slug, (int) $post_id

From the docblock at modules/storefront/includes/class-cb-store-plan-toggle.php:70:

Filter the products.json product a product post is sold as.

@param string $slug    Slug ('' = not sold as plans).
@param int    $post_id Product post.

cb_store_product_html

Filter. One call site.

  • modules/storefront/includes/class-cb-store-single.php:121 · Core, Complete, Store add-on · passes '', $post, $content

cb_store_refuse_public_files

Filter. One call site.

  • modules/storefront/includes/class-cb-store-download.php:273 · Core, Complete, Store add-on · passes false, (int) $row->product_id

From the docblock at modules/storefront/includes/class-cb-store-download.php:273:

Refuse to serve a paid file that is still publicly reachable.

@param bool $refuse     Default false.
@param int  $product_id Product.

cb_store_review_url

Filter. One call site.

  • modules/storefront/includes/class-cb-store-licences.php:1124 · not in a sold zip (the selling site’s Licensed build) · passes $url

From the docblock at modules/storefront/includes/class-cb-store-licences.php:1124:

Filter the Course Review service URL handed to customer sites.

@param string $url Base URL ('' = not available).

cb_store_sales_after_buy

Filter. One call site.

  • modules/storefront/includes/class-cb-store-catalogue.php:1557 · Core, Complete, Store add-on · passes '', (int) $id

From the docblock at modules/storefront/includes/class-cb-store-catalogue.php:1557:

AICAP1 (LB-280): a line under the price and buy button (the AI add-on
prints a course's fair-use line here). Returns HTML, escaped.

@param string $html Extra HTML ('' by default).
@param int    $id   The course or product being sold.

cb_store_token_keys

Filter. One call site.

  • modules/storefront/includes/class-cb-store-tokens.php:134 · not in a sold zip (the selling site’s Licensed build) · passes $out

From the docblock at modules/storefront/includes/class-cb-store-tokens.php:134:

Filter the public keys a token may be signed with (id => raw 32 bytes).

@param array $out Keys.

cb_store_update_url_ttl

Filter. One call site.

  • modules/storefront/includes/class-cb-store-updates.php:229 · not in a sold zip (the selling site’s Licensed build) · passes $ttl

From the docblock at modules/storefront/includes/class-cb-store-updates.php:229:

Filter the lifetime of a signed package URL.

@param int $ttl Seconds.

cb_subscription_changed

Action. 2 call sites.

  • modules/storefront/includes/class-cb-store-webhook.php:403 · Core, Complete, Store add-on · passes array( 'status' => 'active', 'email' => $email, 'user_id' => $user_id, 'product_id' => $product_id, 'subscription_id' => $sub_id, )
  • modules/storefront/includes/class-cb-store-webhook.php:2424 · Core, Complete, Store add-on · passes array( 'status' => 'cancelled', 'email' => (string) $row->email, 'user_id' => (int) $row->user_id, 'product_id' => (int) $row->product_id, 'subscription_id' =>…

From the docblock at modules/storefront/includes/class-cb-store-webhook.php:403:

A subscription started.

@param array $payload Subscription payload.

cb_toolkit_registrar_enabled

Filter. One call site.

  • modules/webapps/module.php:111 · Core, Complete · passes defined( 'CB_CCM_VERSION' )

cb_toolkit_source_dir

Filter. One call site.

  • modules/webapps/includes/class-cb-toolkit-registrar.php:114 · Core, Complete · passes $dir, $manifest

cb_ty_now

Filter. One call site.

  • modules/lms/includes/class-am-account-doors.php:1138 · Free, Core, Complete · passes time()

cb_ty_password_on_page

Filter. One call site.

  • modules/lms/includes/class-am-account-doors.php:1279 · Free, Core, Complete · passes true

cb_ty_password_window

Filter. One call site.

  • modules/lms/includes/class-am-account-doors.php:1311 · Free, Core, Complete · passes self::INPAGE_WINDOW

cb_webapp_document

Filter. One call site.

  • modules/webapps/includes/class-cb-webapps.php:1003 · Core, Complete · passes $doc, $id

From the docblock at modules/webapps/includes/class-cb-webapps.php:1003:

SCORE1 (LB-271): the served document, last. The lead-magnet module adds
its result reporter inside the lead-magnet block's frame only; with no
listener the bytes are unchanged.

@param string $doc The document.
@param int    $id  App ID.

cb_webapp_public

Filter. One call site.

  • modules/webapps/includes/class-cb-webapps.php:711 · Core, Complete · passes false, $app_id

cb_webapp_svg_file

Filter. One call site.

  • modules/webapps/includes/class-cb-svg.php:405 · Core, Complete · passes (string) get_attached_file( $att ), $att

From the docblock at modules/webapps/includes/class-cb-svg.php:405:

Where an app's SVG screen lives on disk (an offload plugin may move it).

@param string $file Path from get_attached_file().
@param int    $att  Attachment id.

cb_webapp_svg_upload_allowed

Filter. One call site.

  • modules/webapps/includes/class-cb-svg.php:111 · Core, Complete · passes $ok, $parent

From the docblock at modules/webapps/includes/class-cb-svg.php:111:

Whether SVG may be uploaded on this request (app media only by default).

@param bool $ok     The default decision.
@param int  $parent The post the upload is attached to, or 0.

cb_webapp_unresolved_verdict

Filter. One call site.

  • modules/webapps/includes/class-cb-webapps.php:799 · Core, Complete · passes $default, $app_id

cb_workbook_configs

Filter. 2 call sites.

  • modules/coursework/includes/class-am-lesson-workbook.php:131 · Core, Complete · passes $configs
  • modules/feedback/includes/class-cb-ai-review-payload.php:290 · AI, Complete · passes array()

From the docblock at modules/coursework/includes/class-am-lesson-workbook.php:131:

Register more workbooks. Each value is a config array (see the class
docblock for the schema). Adding one is the whole per-app cost of the
Phase 2 fan-out.

@param array<string,array> $configs slug => config.

cb_workbook_step_line

Filter. One call site.

  • modules/coursework/includes/class-am-lesson-workbook.php:436 · Core, Complete · passes '', $m[3], $was

lmsb_admin_sections_left

Filter. One call site.

  • shared/class-lmsb-admin-sections.php:152 · Core, AI, Complete · passes array( 'cb-webapp-import' => 'cb_webapp', 'lmsb-adapt' => 'cb_webapp', 'lmsb-branch' => 'cb_webapp', 'cb-toolkit-registrar' => 'cb_webapp', 'lmsb-forum-setting…

lmsb_admin_sections_map

Filter. One call site.

  • shared/class-lmsb-admin-sections.php:141 · Core, AI, Complete · passes $map

lmsb_agent_ai_setup

Filter. One call site.

  • modules/connect/includes/class-lmsb-agent-ai.php:89 · Core, Complete · passes null

From the docblock at modules/connect/includes/class-lmsb-agent-ai.php:89:

The AI add-on's own read of its setup (its settings class, agent_setup()).

@param array|null $setup Null until the add-on answers.

lmsb_agent_bin_kinds

Filter. One call site.

  • modules/connect/includes/class-lmsb-agent-content.php:1265 · Core, Complete · passes array()

Filter. One call site.

  • modules/connect/includes/class-lmsb-agent-brand.php:223 · Core, Complete · passes self::default_logo()

From the docblock at modules/connect/includes/class-lmsb-agent-brand.php:223:

The mark on the agent sign-in and consent screens.

Return an SVG string (drawn inline, cleaned to plain shapes and
text) or the address of an image on this site. Anything else, an
image on another site included, falls back to the text wordmark.

@param string $logo SVG markup or an image URL. Default: the text wordmark.

lmsb_agent_bulk_budget

Filter. One call site.

  • modules/connect/includes/class-lmsb-agent-publish.php:663 · Core, Complete · passes $b

lmsb_agent_calls_per_minute

Filter. One call site.

  • modules/connect/includes/class-lmsb-agent-server.php:739 · Core, Complete · passes (int) get_option( self::OPT_RATE, self::DEFAULT_RATE )

lmsb_agent_cannot

Filter. One call site.

  • modules/connect/includes/class-lmsb-agent-settings-map.php:724 · Core, Complete · passes array()

From the docblock at modules/connect/includes/class-lmsb-agent-settings-map.php:724:

HUB6: what a module adds to the can't list (the Study hub: a student's notes, cards, study
history and timer). An entry with 'student' => true is refused with student_only().

@param array $out Entries.

lmsb_agent_course_hub_writes

Filter. One call site.

  • modules/connect/includes/class-lmsb-agent-complete.php:371 · Core, Complete · passes new WP_Error( 'invalid', __( 'The Study hub isn\'t on for this site, so settings.hub can\'t be set. Nothing was changed.', 'lms-blueprint' ) ), (int) $course_i…

From the docblock at modules/connect/includes/class-lmsb-agent-complete.php:371:

HUB6: settings.hub, the course's Study hub settings, as meta writes (key => value).
Without the Study hub nothing answers, and the change is refused.

@param array|WP_Error $writes    Writes, or a refusal.
@param int            $course_id Course.
@param mixed          $hub       settings.hub as given.

lmsb_agent_definitions

Filter. One call site.

  • modules/connect/includes/class-lmsb-agent-tools.php:362 · Core, Complete · passes $defs

From the docblock at modules/connect/includes/class-lmsb-agent-tools.php:362:

The tool list, last: a module may extend another tool's description or schema for what it
adds (HUB6: the hub group of update_settings, settings.hub on update_course, decks in
list_content and the bin). Names and scopes are not for changing here.

@param array $defs Definitions.

lmsb_agent_hash_keys

Filter. One call site.

  • modules/connect/includes/class-lmsb-agent-settings-map.php:229 · Core, Complete · passes $k, $type

From the docblock at modules/connect/includes/class-lmsb-agent-settings-map.php:229:

HUB6: meta keys a module's tools write on this post type (so content_hash sees them).

@param string[] $k    Keys.
@param string   $type Post type.

lmsb_agent_limits

Filter. One call site.

  • modules/connect/includes/class-lmsb-agent-changes.php:1821 · Core, Complete · passes array( 'write_per_minute' => 30, 'write_per_day' => 1000, 'publish_per_hour' => 20, 'media_per_hour' => 20, 'media_bytes_day' => 200 * 1048576, 'media_bytes_on…

lmsb_agent_list_row

Filter. One call site.

  • modules/connect/includes/class-lmsb-agent-content.php:1467 · Core, Complete · passes $row, $p, (string) $args['type']

From the docblock at modules/connect/includes/class-lmsb-agent-content.php:1467:

HUB6: what a module adds to its own type's rows (a deck's lesson, course and card count).

@param array   $row  Row.
@param WP_Post $p    Post.
@param string  $kind The list_content type.

lmsb_agent_list_types

Filter. One call site.

  • modules/connect/includes/class-lmsb-agent-content.php:1286 · Core, Complete · passes array()

lmsb_agent_owner_words

Filter. One call site.

  • modules/connect/includes/class-lmsb-agent-settings.php:515 · Core, Complete · passes $owner

From the docblock at modules/connect/includes/class-lmsb-agent-settings.php:515:

A module's own tools add their owner-facing lines here (the Study hub's decks).

@param array $owner tool => line.

lmsb_agent_page_blocks

Filter. One call site.

  • modules/connect/includes/class-lmsb-agent-blocks.php:138 · Core, Complete · passes $list

lmsb_agent_preview_seconds

Filter. 2 call sites.

  • modules/connect/includes/class-lmsb-agent-changes.php:1654 · Core, Complete · passes self::PREVIEW_DAYS * DAY_IN_SECONDS
  • modules/connect/includes/class-lmsb-agent-changes.php:1695 · Core, Complete · passes self::PREVIEW_DAYS * DAY_IN_SECONDS

lmsb_agent_settings_groups

Filter. One call site.

  • modules/connect/includes/class-lmsb-agent-settings-map.php:635 · Core, Complete · passes array()

From the docblock at modules/connect/includes/class-lmsb-agent-settings-map.php:635:

HUB6: setting groups a module adds (the Study hub's site switches). Each setting has the
shape above, built with the same fields; every one is live, so every change is staged.

@param array $out Groups.

lmsb_agent_tool_classes

Filter. One call site.

  • modules/connect/includes/class-lmsb-agent-tools.php:380 · Core, Complete · passes array()

lmsb_agent_write_like_me

Filter. One call site.

  • modules/connect/includes/class-lmsb-agent-tools.php:798 · Core, Complete · passes null, (int) $id, $where

From the docblock at modules/connect/includes/class-lmsb-agent-tools.php:798:

VOICE1: a course's or lesson's «Write like me» for get_course / get_lesson; null without the AI add-on.

@param array|null $value   null.
@param int        $id      Course or lesson.
@param string     $where   course | lesson.

lmsb_ask_manual_citation_base

Filter. One call site.

  • modules/manual/includes/class-lmsb-ask-manual.php:145 · Core, Complete · passes self::MANUAL_URL

From the docblock at modules/manual/includes/class-lmsb-ask-manual.php:145:

Filter the manual's base URL: citations under it are shown as links,
and the panel's fallbacks link to it.

@param string $url Base URL, with a trailing slash.

lmsb_ask_manual_edition_hint

Filter. One call site.

  • modules/manual/includes/class-lmsb-ask-manual.php:287 · Core, Complete · passes $hint

From the docblock at modules/manual/includes/class-lmsb-ask-manual.php:287:

Filter the edition hint sent with each question ('' sends none).

@param string $hint complete, core, ai or ''.

lmsb_ask_manual_editions

Filter. One call site.

  • modules/manual/includes/class-lmsb-ask-manual.php:215 · Core, Complete · passes $out

From the docblock at modules/manual/includes/class-lmsb-ask-manual.php:215:

Filter the paid editions that get the «Ask the manual» panel on this
site (Core, Complete or AI SKUs). Empty: no panel.

@param string[] $skus Stamped paid SKUs.

lmsb_ask_manual_forum_url

Filter. One call site.

  • modules/manual/includes/class-lmsb-ask-manual.php:847 · Core, Complete · passes ''

From the docblock at modules/manual/includes/class-lmsb-ask-manual.php:847:

Filter the community forum's address behind «Ask in the forum» (https only).
Empty, the default, hides the button.

@param string $url Forum address.

lmsb_ask_manual_pages

Filter. One call site.

  • modules/manual/includes/class-lmsb-ask-manual.php:765 · Core, Complete · passes array( 'am-lms-tutorial' )

From the docblock at modules/manual/includes/class-lmsb-ask-manual.php:765:

Filter the admin pages (?page=) that carry the «Ask the manual» panel.

@param string[] $pages Page slugs. Default: the Tutorial (help) screen.

lmsb_ask_manual_remote

Filter. One call site.

  • modules/manual/includes/class-lmsb-ask-manual.php:190 · Core, Complete · passes false

From the docblock at modules/manual/includes/class-lmsb-ask-manual.php:190:

Filter whether «Ask the manual» uses the parked AI service (MB4 /
BOT-VOICE1) instead of the logic-based helper on this site. Default
false: questions are answered here, with no request to anyone.

@param bool $remote Use the service.

lmsb_ask_manual_service_url

Filter. One call site.

  • modules/manual/includes/class-lmsb-ask-manual.php:111 · Core, Complete · passes self::PLACEHOLDER

From the docblock at modules/manual/includes/class-lmsb-ask-manual.php:111:

Filter the «Ask the manual» service URL (an origin such as
https://lmsb-manual-xxxx.europe-west2.run.app). The default is a
placeholder until the service is deployed; with it, no request is made.

@param string $url Service origin.

lmsb_ask_manual_support_url

Filter. One call site.

  • modules/manual/includes/class-lmsb-ask-manual.php:162 · Core, Complete · passes self::SUPPORT_DEFAULT

From the docblock at modules/manual/includes/class-lmsb-ask-manual.php:162:

Filter the support address behind the panel's «Email support» button
(mailto; an https address reads «Talk to a human»). Default:
support@cognitionblueprint.com (LB-250). Empty hides it.

@param string $url Support address.

lmsb_ask_manual_video_url

Filter. One call site.

  • modules/manual/includes/class-lmsb-ask-manual.php:534 · Core, Complete · passes isset( $v['url'] ) && is_string( $v['url'] ) ? $v['url'] : '', $lesson

From the docblock at modules/manual/includes/class-lmsb-ask-manual.php:534:

Filter the URL of the course lesson the helper suggests (https only;
anything else shows the lesson without a link).

@param string $url    The service's URL, or ''.
@param string $lesson Lesson number, e.g. 6.2.

lmsb_branch_native_status

Filter. One call site.

  • modules/webapps/includes/class-cb-app-library.php:232 · Core, Complete · passes isset( $a['status'] ) ? (string) $a['status'] : 'held', (string) $a['slug']

From the docblock at modules/webapps/includes/class-cb-app-library.php:232:

A native library app's status: `held` (shipped, not used) or `enabled`.

@param string $status Status in the manifest.
@param string $slug   Library slug.

lmsb_choice_words

Filter. One call site.

  • modules/lms/includes/class-am-privacy.php:624 · Free, Core, Complete · passes array(), (int) $uid, (int) $lid

From the docblock at modules/lms/includes/class-am-privacy.php:624:

The words of a lesson's self-check choices, for one student's saved work.

@param array $map Item key => array( 'label' => string, 'options' => array( choice id => words ) ).
@param int   $uid Student.
@param int   $lid Lesson.

lmsb_connect_token_ttl

Filter. One call site.

  • modules/connect/includes/class-cb-connect-token.php:57 · Core, Complete · passes self::TTL

From the docblock at modules/connect/includes/class-cb-connect-token.php:57:

How long a Connect access token lasts, in seconds.

@param int $ttl Default CB_Connect_Token::TTL (7 days).

lmsb_css_url_bases

Filter. One call site.

  • shared/class-lmsb-css-sanitiser.php:426 · Free, Core, AI, Complete · passes $bases

From the docblock at shared/class-lmsb-css-sanitiser.php:426:

Filters the folders custom CSS may load files from with url().
Each entry is a folder address; a file must sit under one of them.
The default is this site's uploads folder, the plugin's own folder
and the active theme's (D10). A whole host is never accepted.

@param string[] $bases Folder addresses.

lmsb_engage_awarded

Action. One call site.

  • modules/engage/includes/class-lmsb-engage.php:311 · Core, Complete · passes (int) $user_id, (int) $course_id, (string) $source, (int) $object_id, (int) $points

From the docblock at modules/engage/includes/class-lmsb-engage.php:311:

Fires once when something is earned (points or a badge).

@param int    $user_id   User.
@param int    $course_id Course.
@param string $source    lesson | workbook | quiz | badge.
@param int    $object_id What it was earned on (a badge's ID for a badge).
@param int    $points    Points.

lmsb_feature_anim_active

Filter. One call site.

  • modules/design/featureanim/class-lmsb-feature-anim.php:112 · Core, Complete · passes $on, $name, $cat[ $name ]['needs']

From the docblock at modules/design/featureanim/class-lmsb-feature-anim.php:112:

Whether the feature behind an animation is active on this site (the block offers and shows only these).

@param bool     $on    Active, by the feature's own module being loaded.
@param string   $name  Animation.
@param string[] $needs The classes its module loads.

lmsb_feedback_sent

Action. One call site.

  • modules/coursework/includes/class-lmsb-submissions.php:583 · Core, Complete · passes (int) $sub->id, (int) $fb->id

From the docblock at modules/coursework/includes/class-lmsb-submissions.php:583:

Fires when a person's feedback reaches the student.

@param int $submission_id Submission.
@param int $feedback_id   Feedback row.

lmsb_forum_ai_after

Filter. One call site.

  • modules/forum/includes/class-lmsb-forum-render.php:405 · Core, Complete · passes '', $p

From the docblock at modules/forum/includes/class-lmsb-forum-render.php:405:

Filter HTML printed under an AI-written reply (for example, the pages it cites).

@param string  $html HTML ('' by default).
@param WP_Post $p    The reply.

lmsb_forum_ai_label

Filter. One call site.

  • modules/forum/includes/class-lmsb-forum-render.php:395 · Core, Complete · passes self::s( 'ai_label' ), $p

From the docblock at modules/forum/includes/class-lmsb-forum-render.php:395:

Filter the label above an AI-written reply.

@param string  $label Label.
@param WP_Post $p     The reply.

lmsb_forum_can_post

Filter. One call site.

  • modules/forum/includes/class-lmsb-forum.php:909 · Core, Complete · passes $ok, $user_id, $ctx

From the docblock at modules/forum/includes/class-lmsb-forum.php:909:

Filter whether an account may post.

@param bool  $ok      Default, as above.
@param int   $user_id The account.
@param array $ctx     Where: course (0 = site community), kind, lesson.

lmsb_forum_daily_limit

Filter. One call site.

  • modules/forum/includes/class-lmsb-forum.php:1003 · Core, Complete · passes 'topic' === $kind ? 5 : 30, $kind, $user_id

From the docblock at modules/forum/includes/class-lmsb-forum.php:1003:

Filter how many topics (default 5) or replies (default 30) an account may post a day.

@param int    $limit   Limit.
@param string $kind    topic|reply.
@param int    $user_id The account.

lmsb_forum_email_strings

Filter. One call site.

  • modules/forum/includes/class-lmsb-forum-notify.php:66 · Core, Complete · passes array( 'mod_subject' => __( 'Forum: a post is waiting for a moderator', 'lms-blueprint' ), 'mod_body' => __( 'A post in %s is waiting for a moderator.', 'lms-b…

lmsb_forum_escalation_terms

Filter. One call site.

  • platform/lmsb-platform/includes/class-lmsb-platform-forum-helper.php:156 · not in a sold zip · passes $terms

From the docblock at platform/lmsb-platform/includes/class-lmsb-platform-forum-helper.php:156:

Filter the terms that route a forum topic to email instead of an AI answer.

@param string[] $terms Case-insensitive regex fragments, matched as whole words.

lmsb_forum_is_ai_account

Filter. One call site.

  • modules/forum/includes/class-lmsb-forum.php:663 · Core, Complete · passes false, (int) $user_id

From the docblock at modules/forum/includes/class-lmsb-forum.php:663:

Filter whether an account is an AI account (it never posts through the forms).

@param bool $ai      Default false.
@param int  $user_id The account.

lmsb_forum_is_student

Filter. One call site.

  • modules/forum/includes/class-lmsb-forum.php:764 · Core, Complete · passes $ok, $user_id, $course_id

From the docblock at modules/forum/includes/class-lmsb-forum.php:764:

Filter whether an account is a student of a course, for its forum.

@param bool $ok        Default: an active enrolment not made by a test order.
@param int  $user_id   The account.
@param int  $course_id The course.

lmsb_forum_lesson_panel

Filter. One call site.

  • modules/forum/includes/class-lmsb-forum-render.php:849 · Core, Complete · passes true, (int) $lesson_id

From the docblock at modules/forum/includes/class-lmsb-forum-render.php:849:

Filter whether a lesson shows its «Discussion» panel.

@param bool $show      Default true.
@param int  $lesson_id The lesson.

lmsb_forum_posted

Action. 2 call sites.

  • modules/forum/includes/class-lmsb-forum.php:1173 · Core, Complete · passes (int) $id, $c['status']
  • modules/forum/includes/class-lmsb-forum.php:1225 · Core, Complete · passes (int) $id, $c['status']

From the docblock at modules/forum/includes/class-lmsb-forum.php:1173:

Fires after a topic is saved through the forum (published or held).

@param int    $id     Topic.
@param string $status publish|pending.

lmsb_forum_site_enabled

Filter. One call site.

  • modules/forum/includes/class-lmsb-forum.php:291 · Core, Complete · passes self::settings()['site']

From the docblock at modules/forum/includes/class-lmsb-forum.php:291:

Filter whether the site community (topics not tied to a course) is on.

@param bool $on The setting (Forum → Settings).

lmsb_forum_site_parts

Filter. 2 call sites.

  • modules/forum/includes/class-lmsb-forum.php:306 · Core, Complete · passes array( 'general' => __( 'General', 'lms-blueprint' ) )
  • shared/lmsb-paused-slice2.php:355 · Core, AI, Complete · passes array( 'general' => 'General' )

From the docblock at modules/forum/includes/class-lmsb-forum.php:306:

Filter the site community's categories.

@param array $parts slug => name.

lmsb_forum_strings

Filter. One call site.

  • modules/forum/includes/class-lmsb-forum-render.php:126 · Core, Complete · passes $s

From the docblock at modules/forum/includes/class-lmsb-forum-render.php:126:

Filter the forum's visible strings.

@param array $s key => text.

lmsb_forum_support_email

Filter. One call site.

  • platform/lmsb-platform/includes/class-lmsb-platform-forum.php:149 · not in a sold zip · passes 'support@cognitionblueprint.com'

lmsb_hub_answer_mode

Filter. 2 call sites.

  • modules/hub/includes/class-lmsb-hub-study.php:86 · Core, Complete · passes 'next'
  • modules/hub/includes/class-lmsb-hub-study.php:592 · Core, Complete · passes 'next'

From the docblock at modules/hub/includes/class-lmsb-hub-study.php:86:

How a student answers a card: 'next' (Next card; HUB3) or 'answer'
(Forgot / Got it, recorded by the scheduler; HUB4).

@param string $mode next | answer.

lmsb_hub_builtin_tips

Filter. One call site.

  • modules/hub/includes/class-lmsb-hub-tips.php:69 · Core, Complete · passes $all

From the docblock at modules/hub/includes/class-lmsb-hub-tips.php:69:

The built-in study tips (a test can approve a wording here, as the
publisher would in the data file).

@param array[] $tips As in data/study-tips.json.

lmsb_hub_card_deleted

Action. One call site.

  • modules/hub/includes/class-lmsb-hub-cards.php:762 · Core, Complete · passes (int) $user_id, 'o:' . (int) $id

From the docblock at modules/hub/includes/class-lmsb-hub-cards.php:762:

One of a student's own cards was deleted (HUB4 drops its review row).

@param int    $user_id Student.
@param string $key     The card's key (o:{id}).

lmsb_hub_card_limit

Filter. One call site.

  • modules/hub/includes/class-lmsb-hub-cards.php:128 · Core, Complete · passes self::LIMIT

From the docblock at modules/hub/includes/class-lmsb-hub-cards.php:128:

How many cards one student may make on this site.

@param int $limit Default 2,000 (spec §2.2).

lmsb_hub_due_queue

Filter. One call site.

  • modules/hub/includes/class-lmsb-hub.php:95 · Core, Complete · passes null, (int) $user_id, $course_ids

From the docblock at modules/hub/includes/class-lmsb-hub.php:95:

A course's own review schedule (SPACED1: instructor-set review prompts)
as its own «due» queue in the Study band, first. The hub builds nothing
of it; whoever builds the schedule returns its tile here.

@param array|null $due        { title, html (escaped markup) } or null for none.
@param int        $user_id    The student.
@param int[]      $course_ids Their shelf.

lmsb_hub_ready_summary

Filter. One call site.

  • modules/hub/includes/class-lmsb-hub-srs.php:680 · Core, Complete · passes array( 'cards' => (bool) $cards, 'returns' => $returns, ), (int) $user_id, (int) $course

From the docblock at modules/hub/includes/class-lmsb-hub-srs.php:680:

What is ready to come back, before the tile or the app shows it.
SPACED1's instructor-set review queue joins here (spec rulings, LB-271).

@param array $summary { cards: bool, returns: array[] }
@param int   $user_id The student.
@param int   $course  Course (0 = every shelf course).

lmsb_hub_study_cards

Filter. 5 call sites.

  • modules/hub/includes/class-lmsb-hub-study.php:284 · Core, Complete · passes array_merge( $set['cards'], $own ), $uid, 'lesson'
  • modules/hub/includes/class-lmsb-hub-study.php:317 · Core, Complete · passes LMSB_Hub_Cards::study_cards( $uid, $course ), $uid, 'session'
  • modules/hub/includes/class-lmsb-hub-study.php:384 · Core, Complete · passes array( $r ), get_current_user_id(), 'lesson'
  • modules/hub/includes/class-lmsb-hub-study.php:553 · Core, Complete · passes $cards, $user_id, 'lesson'
  • modules/hub/includes/class-lmsb-hub-study.php:586 · Core, Complete · passes LMSB_Hub_Cards::study_cards( $user_id, $course ), $user_id, 'lesson'

From the docblock at modules/hub/includes/class-lmsb-hub-study.php:317:

This filter is documented in lesson_payload() above.

lmsb_hub_study_words

Filter. One call site.

  • modules/hub/includes/class-lmsb-hub-study.php:113 · Core, Complete · passes self::words()

From the docblock at modules/hub/includes/class-lmsb-hub-study.php:113:

The words the cards show. HUB4 swaps in the scheduler's (the end line,
"Study all that are ready").

@param array $words key => text.

lmsb_hub_tabs

Filter. One call site.

  • modules/hub/includes/class-lmsb-hub.php:177 · Core, Complete · passes $tabs, (int) $lesson_id, (int) $user_id

From the docblock at modules/hub/includes/class-lmsb-hub.php:177:

The Study panel's tabs. 'notes' stays first.

@param array[] $tabs      key => { label, html (escaped markup), foot (optional escaped markup: the tab's main actions, shown in the panel's footer while the tab is open) }.
@param int     $lesson_id The lesson.
@param int     $user_id   The student.

lmsb_hub_tiles

Filter. One call site.

  • modules/hub/includes/class-lmsb-hub.php:133 · Core, Complete · passes $tiles, (int) $user_id, $course_ids

From the docblock at modules/hub/includes/class-lmsb-hub.php:133:

The Study band's tiles.

@param array[] $tiles      key => { title, html (escaped markup) }.
@param int     $user_id    The student.
@param int[]   $course_ids Their shelf.

lmsb_import_propose

Filter. One call site.

  • modules/importer/includes/class-cb-import-suggest.php:433 · Core, Complete · passes null, $pub

lmsb_import_review_panels

Action. One call site.

  • modules/importer/includes/class-cb-import-suggest.php:721 · Core, Complete · passes (int) $step, (int) $id, $job, $ctx

From the docblock at modules/importer/includes/class-cb-import-suggest.php:721:

The add-on draws its Suggestions panel here (spec §3.7).

@param int   $step 3 (where the lesson text is) or 4 (what will cross).
@param int   $id   Job.
@param array $job  Job.
@param array $ctx  {key, title, cached, folder, labels}.

lmsb_ivideo_draft_reply

Filter. One call site.

  • modules/ivideo/includes/class-lmsb-ivideo-draft.php:121 · Core, Complete · passes null, $system, $message

lmsb_landing_look

Filter. One call site.

  • modules/design/library/class-lmsb-landing.php:84 · Core, Complete · passes $look, $cid

From the docblock at modules/design/library/class-lmsb-landing.php:84:

The look a course's landing page is drawn in.

@param string $look library | classic.
@param int    $cid  The course.

lmsb_lead_received

Action. One call site.

  • modules/leads/includes/class-lmsb-leads.php:523 · Core, Complete · passes $rid, $app_id, $lead

From the docblock at modules/leads/includes/class-lmsb-leads.php:523:

Fires when a lead magnet takes a response (after the spam guard).

@param int $response_id Response.
@param int $app_id      App.
@param int $lead_id     Lead.

lmsb_lesson_components

Filter. One call site.

  • modules/lms/includes/class-am-lesson-handbook.php:440 · Free, Core, Complete · passes array(), $rows

From the docblock at modules/lms/includes/class-am-lesson-handbook.php:440:

Rows another plugin adds to the «Lesson components» screen and the
inserter, keyed by block name. A row needs `family` (one of
`families()`), `title` and `desc`; `keywords`, `long`, `when` and
`example` are optional. Rows this plugin already has are not changed.

@param array $added Rows to add (starts empty).
@param array $rows  This plugin's own rows, for reference.

lmsb_library_page_course

Filter. One call site.

  • modules/design/library/class-lmsb-library-two.php:483 · Core, Complete · passes 0, $q

From the docblock at modules/design/library/class-lmsb-library-two.php:483:

The course a page belongs to (a course landing page on a page of its own).

@param int $course_id 0 when none.
@param int $page_id   The page.

lmsb_library_schema

Filter. One call site.

  • modules/design/library/class-lmsb-library.php:666 · Core, Complete · passes $s

From the docblock at modules/design/library/class-lmsb-library.php:666:

The section library's blocks, before the shared fields (anchor, width, motion) are added.
Another module's section joins the library here: its schema gives it the editor's sidebar,
the MCP's validator and site_reference's description; a `render` callable draws it.

@param array $s Block name => title, description, icon, effects, motion, fields (, render, script).

lmsb_licence_answer

Filter. 2 call sites.

  • shared/class-cb-licence-client.php:96 · Core, AI, Complete · passes null, (string) $sku, 'validate', array( 'url' => $url )
  • shared/class-cb-updater.php:269 · Core, AI, Complete · passes null, $this->sku(), 'update', $args

From the docblock at shared/class-cb-licence-client.php:96:

This filter is documented in shared/class-cb-updater.php (LAPSE-GATE1-B1 seam).

lmsb_licence_now

Filter. 2 call sites.

  • shared/class-lmsb-licence-state.php:528 · Free, Core, AI, Complete · passes time()
  • shared/class-lmsb-paused-screen.php:262 · Core, AI, Complete · passes time()

lmsb_live_enabled

Filter. One call site.

  • modules/lms/includes/class-am-funnel.php:105 · Free, Core, Complete · passes $on

lmsb_login_locked

Action. One call site.

  • modules/lms/includes/class-am-login-throttle.php:513 · Free, Core, Complete · passes (int) $user->ID, (int) $fails, (int) $until

From the docblock at modules/lms/includes/class-am-login-throttle.php:513:

An account's sign-in was locked after repeated wrong passwords.

@param int $user_id User.
@param int $fails   Failed attempts in the window.
@param int $until   Unix time the lock ends.

lmsb_login_throttle_client_ip

Filter. One call site.

  • modules/lms/includes/class-am-login-throttle.php:277 · Free, Core, Complete · passes $ip

From the docblock at modules/lms/includes/class-am-login-throttle.php:277:

The address the throttle counts for this request.

@param string $ip The address chosen above ('' when none).

lmsb_login_throttle_ip_header

Filter. One call site.

  • modules/lms/includes/class-am-login-throttle.php:259 · Free, Core, Complete · passes 'HTTP_X_FORWARDED_FOR'

From the docblock at modules/lms/includes/class-am-login-throttle.php:259:

The $_SERVER key the trusted proxies write the visitor's address to.

@param string $key Default HTTP_X_FORWARDED_FOR.

lmsb_login_throttle_settings

Filter. One call site.

  • modules/lms/includes/class-am-login-throttle.php:182 · Free, Core, Complete · passes $base, $scope

From the docblock at modules/lms/includes/class-am-login-throttle.php:182:

Tune the sign-in throttle for one scope.

@param array  $settings enabled, window, lockout, delay_base, account_free, account_max, ip_free, ip_max.
@param string $scope    'login' (Connect sign-in and the account page) or 'oauth' (agent sign-in).

lmsb_login_throttle_trusted_proxies

Filter. One call site.

  • modules/lms/includes/class-am-login-throttle.php:252 · Free, Core, Complete · passes array()

From the docblock at modules/lms/includes/class-am-login-throttle.php:252:

Proxies (addresses or CIDR ranges) in front of this site whose
forwarded-for header may be believed. Empty by default: the header
is written by the caller, so it is ignored unless the request came
from one of these.

@param string[] $proxies Addresses or ranges.

lmsb_manual_import_step

Action. One call site.

  • platform/lmsb-platform/includes/class-lmsb-platform-manual-store.php:179 · not in a sold zip · passes $step, $sha

lmsb_manual_since_label

Filter. One call site.

  • platform/lmsb-platform/includes/class-lmsb-platform-manual.php:390 · not in a sold zip · passes '%s', $p

lmsb_manual_swapped

Action. One call site.

  • platform/lmsb-platform/includes/class-lmsb-platform-manual-store.php:348 · not in a sold zip · passes $state

lmsb_marking_after_editor

Action. One call site.

  • modules/coursework/includes/class-lmsb-marking-screen.php:490 · Core, Complete · passes $sub, $draft

From the docblock at modules/coursework/includes/class-lmsb-marking-screen.php:490:

Under the feedback editor on the Marking screen, before the buttons.

@param object      $sub   Submission.
@param object|null $draft The unsent version, if there is one.

lmsb_marking_ai_feedback

Action. One call site.

  • modules/coursework/includes/class-lmsb-marking-screen.php:450 · Core, Complete · passes $sub, $fb

From the docblock at modules/coursework/includes/class-lmsb-marking-screen.php:450:

Beside feedback the course's AI wrote, on the Marking screen.

@param object $sub Submission.
@param object $fb  Feedback row.

lmsb_match_adapt_url

Filter. 2 call sites.

  • modules/webapps/includes/class-lmsb-match-screen.php:292 · Core, Complete · passes '' !== $adapt_page ? add_query_arg( array( 'base' => $s['slug'], 'lesson' => (int) $row['id'], ), $adapt_page ) : '', $s['slug'], $row['id']
  • modules/webapps/includes/class-lmsb-match-screen.php:389 · Core, Complete · passes '' !== $adapt_page ? add_query_arg( array( 'base' => $a['slug'], 'lesson' => (int) $x['lesson_id'], ), $adapt_page ) : '', $a['slug'], $x['lesson_id']

From the docblock at modules/webapps/includes/class-lmsb-match-screen.php:292:

Where «Adapt this app» goes (LIB-A's Adapt screen). '' hides the button.

@param string $url    URL.
@param string $slug   Library slug.
@param int    $lesson Lesson the app would serve.

lmsb_match_app_post

Filter. One call site.

  • modules/webapps/includes/class-lmsb-match.php:1149 · Core, Complete · passes $id, (string) $slug

From the docblock at modules/webapps/includes/class-lmsb-match.php:1149:

The site app Match places for a library slug (0: not on this site, no button).

@param int    $id   cb_webapp ID found by post_name.
@param string $slug Library slug.

lmsb_match_app_slug

Filter. One call site.

  • modules/webapps/includes/class-lmsb-match.php:1116 · Core, Complete · passes $slug, (int) $app_id

From the docblock at modules/webapps/includes/class-lmsb-match.php:1116:

The library slug a site app stands for, so Match knows the app is already in the course (an
adapted copy names its base app's slug).

@param string $slug   The app's post_name.
@param int    $app_id cb_webapp ID.

lmsb_match_cards

Filter. One call site.

  • modules/webapps/includes/class-lmsb-match.php:296 · Core, Complete · passes $cards

From the docblock at modules/webapps/includes/class-lmsb-match.php:296:

The app cards Match ranks (the library's 82 by default): `lmsb-app-card/1`
(`_docs/LMSB-APP-CARD-SCHEMA.md`). Match reads slug, title, tagline, engine (or pattern),
items[].title/desc/q/questions, items_heading and transfer.

@param array[] $cards Cards.

lmsb_motion_effects

Filter. One call site.

  • modules/design/class-cb-motion.php:63 · Core, Complete · passes array( 'core/group' => array( 'reveal', 'choreo', 'marquee', 'draw' ), 'core/columns' => array( 'reveal', 'choreo', 'sticky' ), 'core/cover' => array( 'reveal'…

lmsb_motion_keeps_none

Filter. One call site.

  • modules/design/class-cb-motion.php:164 · Core, Complete · passes false, $name

From the docblock at modules/design/class-cb-motion.php:164:

PAGEKIT1 C3a: a block whose motion is on by default (a library section) keeps
«none», which turns it off; every other block drops the setting.

@param bool   $keep Keep «none».
@param string $name Block name.

lmsb_motion_self_rendered

Filter. One call site.

  • modules/design/class-cb-motion.php:253 · Core, Complete · passes false, (string) $block['blockName']

From the docblock at modules/design/class-cb-motion.php:253:

PAGEKIT1 C3a: a block that draws its own motion (a library section) is left alone here.

@param bool   $self Draws its own.
@param string $name Block name.

lmsb_motion_supported

Filter. One call site.

  • modules/design/class-cb-motion.php:119 · Core, Complete · passes function_exists( 'cognition_theme_motion_enabled' )

From the docblock at modules/design/class-cb-motion.php:119:

Filters whether the active theme has a motion layer that reads the
motion attributes. True for the LMS Blueprint Theme.

@param bool $supported Supported.

Filter. One call site.

  • platform/lmsb-platform/includes/class-lmsb-platform-banner.php:132 · not in a sold zip · passes $links

lmsb_platform_banner_text

Filter. One call site.

  • platform/lmsb-platform/includes/class-lmsb-platform-banner.php:64 · not in a sold zip · passes '' !== trim( $text ) ? $text : self::PLACEHOLDER

lmsb_privacy_stores

Filter. One call site.

  • shared/class-lmsb-privacy-stores.php:225 · Free, Core, AI, Complete · passes array()

lmsb_product_kinds

Filter. One call site.

  • shared/class-lmsb-product-kinds.php:74 · Free, Core, AI, Complete · passes $base

lmsb_review_url

Filter. One call site.

  • modules/feedback/includes/class-cb-ai-review-client.php:87 · AI, Complete · passes $url

From the docblock at modules/feedback/includes/class-cb-ai-review-client.php:87:

Filter the Course Review service's base URL.

@param string $url Base URL from the store's licence answer.

lmsb_scorm_exported

Action. One call site.

  • modules/interop/includes/class-lmsb-scorm-export.php:251 · Core, Complete · passes $course, $version, get_current_user_id()

From the docblock at modules/interop/includes/class-lmsb-scorm-export.php:251:

A course was exported (the export log: who, which course, which edition).

@param int    $course  Course.
@param string $version '1.2' or '2004'.
@param int    $user    Who.

lmsb_scorm_imported

Action. One call site.

  • modules/interop/includes/class-lmsb-scorm-import.php:428 · Core, Complete · passes $pkg, $lesson, $course_id, (int) $user_id

From the docblock at modules/interop/includes/class-lmsb-scorm-import.php:428:

A package was imported (the import log: who, what, where).

@param int $pkg       Package record.
@param int $lesson    The draft lesson.
@param int $course_id Course.
@param int $user_id   Who.

lmsb_scorm_limits

Filter. One call site.

  • modules/interop/includes/class-lmsb-scorm-import.php:82 · Core, Complete · passes array( 'max_zip_bytes' => 200 * MB_IN_BYTES, 'max_files' => 5000, 'max_unpacked_bytes' => 500 * MB_IN_BYTES, 'max_file_bytes' => 200 * MB_IN_BYTES, 'max_ratio'…

lmsb_scorm_token_ttl

Filter. One call site.

  • modules/interop/includes/class-lmsb-scorm-player.php:158 · Core, Complete · passes 6 * HOUR_IN_SECONDS

lmsb_served_assets_budget

Filter. One call site.

  • shared/class-lmsb-served-assets.php:1031 · Core, AI, Complete · passes 20, $set

lmsb_served_assets_chunk

Filter. One call site.

  • shared/class-lmsb-served-assets.php:681 · Core, AI, Complete · passes 262144

lmsb_served_assets_updated

Action. One call site.

  • shared/class-lmsb-served-assets.php:969 · Core, AI, Complete · passes $set, $r['serial']

From the docblock at shared/class-lmsb-served-assets.php:969:

A served set has a new live version (CB_App_Library re-syncs on it).

@param string $set    Set.
@param int    $serial Its serial.

lmsb_spaced_now

Filter. One call site.

  • modules/spaced/includes/class-lmsb-spaced.php:142 · Core, Complete · passes time()

lmsb_spaced_panel

Filter. One call site.

  • modules/spaced/includes/class-lmsb-spaced-student.php:151 · Core, Complete · passes $panel, $user_id

From the docblock at modules/spaced/includes/class-lmsb-spaced-student.php:151:

The review panel's HTML, before it joins the dashboard. Return '' to
take it elsewhere (the Study hub's band) and print
LMSB_Spaced_Student::panel() there.

@param string $panel   HTML ('' when the student has no course with a schedule).
@param int    $user_id Student.

lmsb_store_look

Filter. One call site.

  • modules/design/library/class-lmsb-store.php:81 · Core, Complete · passes $look

From the docblock at modules/design/library/class-lmsb-store.php:81:

The look the shop and product pages are drawn in.

@param string $look library | classic.

lmsb_store_tool_sold_singly

Filter. One call site.

  • modules/storefront/includes/class-cb-store-tools.php:230 · Core, Complete, Store add-on · passes true, $app

From the docblock at modules/storefront/includes/class-cb-store-tools.php:230:

Whether a sold app may also be sold on its own at the per-tool price.

@param bool $singly True (the default: every sold app).
@param int  $app    The app (a published `cb_webapp` a listed toolkit sells).

lmsb_submission_received

Action. One call site.

  • modules/coursework/includes/class-lmsb-submissions.php:300 · Core, Complete · passes $id, $user_id

From the docblock at modules/coursework/includes/class-lmsb-submissions.php:300:

Fires when a student sends a piece of work for a person to mark.

@param int $id      Submission id.
@param int $user_id Student.

Filter. One call site.

  • shared/class-lmsb-woo-coexist.php:304 · Free, Core, AI, Complete · passes array()

From the docblock at shared/class-lmsb-woo-coexist.php:304:

Filters the links LMS Blueprint adds to WooCommerce's My account menu after «My courses».
The Suite's Study hub adds «Study hub» here while it is on; the free plugin names no
Suite class.

@since FIX-WOO-COEXIST1
@param array $links endpoint => array( 'label' => string, 'url' => string ).

lmsb_woocommerce_active

Filter. One call site.

  • shared/class-lmsb-woo-coexist.php:91 · Free, Core, AI, Complete · passes class_exists( 'WooCommerce' )

lmsb_workbook_builtin_source

Filter. One call site.

  • modules/coursework/includes/class-am-workbook-transfer.php:483 · Core, Complete · passes $source, $slug, $c

From the docblock at modules/coursework/includes/class-am-workbook-transfer.php:483:

What a built-in workbook's feedback looks for, in the authoring
screen's terms, so "Duplicate to edit" can carry it.

@param array|null $source { purpose: string, criteria: name => good } or NULL.
@param string     $slug   Slug.
@param array      $config The registered config.

lmsb_workbook_compile

Filter. One call site.

  • modules/coursework/includes/class-am-workbook-store.php:907 · Core, Complete · passes $core, $wb, $id

From the docblock at modules/coursework/includes/class-am-workbook-store.php:907:

The AI add-on adds `system`, `max_tokens`, `graded`, `context` and
`evaluate` here when the workbook's feedback is on and valid.

@param array $core Core config.
@param array $wb   The author's workbook.
@param int   $id   Post ID.

lmsb_workbook_editor_panels

Action. One call site.

  • modules/coursework/includes/class-am-workbook-editor.php:354 · Core, Complete · passes $post, $wb

From the docblock at modules/coursework/includes/class-am-workbook-editor.php:354:

The AI add-on's panels: what the feedback looks for, what the
student sees, feedback length, Folio.

@param WP_Post $post The workbook post.
@param array   $wb   The workbook (format 1).

lmsb_workbook_preview_after

Filter. One call site.

  • modules/coursework/includes/class-am-workbook-editor.php:714 · Core, Complete · passes '', $config, self::preview_workbook( $post_id, $wb )

From the docblock at modules/coursework/includes/class-am-workbook-editor.php:714:

Markup shown in the preview after the workbook (never on a lesson).

@param string $after  Markup.
@param array  $config The compiled config.
@param array  $wb     The workbook.

lmsb_workbook_preview_tools

Action. One call site.

  • modules/coursework/includes/class-am-workbook-editor.php:372 · Core, Complete · passes $post

From the docblock at modules/coursework/includes/class-am-workbook-editor.php:372:

Tools under the preview. The AI add-on prints its test request here.

@param WP_Post $post The workbook post.

lmsb_workbook_validate

Filter. One call site.

  • modules/coursework/includes/class-am-workbook-store.php:783 · Core, Complete · passes $e, $wb

From the docblock at modules/coursework/includes/class-am-workbook-store.php:783:

The AI add-on's checks (V9–V12, V14) on the feedback half.

@param array $e  Checks so far.
@param array $wb Normalised workbook.