class Avatar_Rank_ProgressRenders avatar/user-nav rank progress UI and exposes progress REST endpoint.
class final
- Full name
Kernowdev\ClanbiteRanks\Ranks\Avatar_Rank_Progress
Methods
add_progress_to_unified_avatar()Add rank progress bars to unified avatar system.avatar_allows_rank_icon_overlay()Whether this avatar render should allow rank icon overlays (all presets except small).enqueue_assets()Enqueue avatar progress assets when at least one enabled rank type exists.enqueue_progress_assets()Enqueue rank bar CSS/JS (REST polling, level-up toasts) once per request.filter_forums_rest_author()Adds rank icon URLs for Clanbite Forums board avatars (Interactivity data-wp-each).filter_player_avatar_block_parts()Large player-avatar block: rank icons outside the clip only (progress uses Rank progress block).filter_player_avatar_icon_overlay()Wrap avatar inner markup and overlay current-rank icons (bottom-right) for enabled rank types.filter_player_avatar_markup()Append rank label/progress markup beside large avatars and user-nav avatars (trigger + dropdown).filter_social_kit_rest_author()Adds rank icon URLs for Social Kit feed / comment author payloads.register_rest_routes()Register public REST route for rank progress polling.register()Register front-end hooks.render_rank_progress_block_markup()Front-end / editor: output a selected ladder’s bar for a user (used by the Rank progress block).render_single_rank_progress_bar_html()One rank ladder progress bar (same markup as user-nav / REST polling expects).
Defined in inc/Ranks/Avatar_Rank_Progress.php