Every filter hook (apply_filters) in WB Gamification, grouped by domain. Register a listener with add_filter(), match the parameter count to the signature shown, and always return a value (return it unchanged when your condition does not apply).
Number of days the daily Action Scheduler cleanup keeps actionscheduler_actions rows for, regardless of status. Default 7, minimum 1. Added in 1.4.0.
int $days
int retention days
wb_gam_activity_context_label
The BuddyPress activity context-group label for a gamification activity type. Default is the per-type human label. Added in 1.4.0.
string $context, string $key
string context label
wb_gam_rank_automation_rules
Rank automation rules before they are evaluated.
array $rules
array rules
wb_gam_activitypub_activity
The ActivityPub activity object before it is dispatched for a badge award.
array $activity, int $user_id
array activity object
wb_gam_grant_member_uploads
Whether to bridge the WordPress upload_files capability to logged-in members so the achievement editor’s Add Media button works for subscribers/contributors. Default true.
bool $grant, WP_User $user
bool whether to grant
wb_gam_wpmediaverse_free_triggers
The WPMediaVerse free trigger definitions.
array $free_triggers
array triggers
wb_gam_wpmediaverse_pro_triggers
The WPMediaVerse Pro trigger definitions (only when WPMediaVerse Pro is active).
array $pro_triggers
array triggers
wb_gam_wpmediaverse_triggers
The combined WPMediaVerse trigger definitions.
array $triggers, bool $pro_active
array triggers
wb_gam_defer_leaderboard_to_jetonomy
Whether wb-gam suppresses its own leaderboard + top-members blocks/shortcodes (and the Hub leaderboard card) so Jetonomy’s reputation ranking is the single leaderboard. Default true when JETONOMY_VERSION is defined, otherwise false. Added in 1.5.2.
bool $defer
bool whether to defer
wb_gam_learndash_profile_link
Whether to add the opt-in “My Achievements” link to the LearnDash profile (links to the mapped Hub page). Default false - return true to enable. Added in 1.5.2.
bool $enabled
bool whether to show the link
wb_gam_member_surface_html
The wrapped member achievements surface markup (BuddyPress Achievements tab, WooCommerce My Account endpoint, etc.) before output, so a host can wrap or augment the surface without duplicating the renderer. Added in 1.5.2.
Whether the Server-Sent Events long-poll transport may run on this host. Default false - SSE pins a PHP-FPM worker per connection, so it stays off unless the host is provisioned for long-lived streaming. When false, realtime falls back to WP Heartbeat. Added in 1.5.2.
bool $allowed
bool whether SSE is permitted
wb_gam_toast_position
The on-screen corner reward toasts slide in from. Filters the stored wb_gam_toast_position option (Settings > Realtime). One of bottom-right (default), bottom-left, top-right, top-center. Added in 1.5.2.
Site-owner controls added in 1.5.3 (Settings > Access and Settings > Modules).
Filter
What it filters
Parameters
Return
wb_gam_user_can_earn
Whether a user may earn points at all. Fires after the admin earning-exclusion settings (excluded roles, excluded accounts, and the per-user wb_gam_sandboxed veto) are applied, so code can extend or override the owner’s choices. Enforced at the single award choke point, so it covers both the sync and async award paths. Added in 1.5.3.
bool $can, int $user_id
bool whether the user may earn
wb_gam_module_enabled
Whether an optional module is enabled. Modules: kudos, streaks, challenges, community_challenges, cohort_leagues, redemption. Default ON; only an explicit '0' in the wb_gam_modules option disables one. A disabled module’s blocks and shortcodes render nothing and its admin page is removed (data is preserved). Added in 1.5.3.
bool $enabled, string $slug
bool whether the module is on
Two related event hooks are actions, not filters.wb_gam_progress_reset (fires after a member-progress reset wipes the progress tables, keeping config) and wb_gam_points_decayed (fires after each inactivity point-decay sweep, with the number of members decayed) are documented in the Actions reference. Listen with add_action(), not add_filter().
Whether a member’s /u/{user_login} profile page is publicly visible. Default ON (opt-out model): a member is visible unless they set the per-user flag to 0, and the site-wide kill switch still wins. Added in 1.5.2.
These fire from the REST controllers behind the admin CRUD screens. Each carries the WP_REST_Request so listeners can inspect or modify the payload before the write.
Every block exposes a per-block data filter that fires on the data the block is about to render, so extensions can reorder, remove, or add fields without forking the render PHP. Each filter is named wb_gam_block_<slug>_data (or _currencies for the hub). All per-block data filters also receive the block attributes and the resolving user ID as later arguments where the render needs them.
Filter
Block
What it filters
Return
wb_gam_block_leaderboard_data
leaderboard
Array of {rank, user_id, display_name, points} rows
array rows
wb_gam_block_top_members_data
top-members
Same shape as leaderboard
array rows
wb_gam_block_points_history_data
points-history
Array of {action_id, points, point_type, created_at} rows