class Ranks_Admin extends Kernowdev\Clanbite\Extensions\Abstract_SettingsSettings for the Ranks extension (Clanbite → Settings → Ranks): rank ladders and status-update options.
Values live in the clanbite_ranks_settings option; read ladders through \Kernowdev\ClanbiteRanks\clanbite_ranks_get_rank_types_rows() rather than the option directly.
class final
- Full name
Kernowdev\ClanbiteRanks\Extension\Ranks_Admin- Extends
Kernowdev\Clanbite\Extensions\Abstract_Settings
Methods
get_all(){@inheritDoc}get_defaults(){@inheritDoc}get_menu_title(){@inheritDoc}get_page_title(){@inheritDoc}get_sections(){@inheritDoc}handle_save_types()Handle custom modal-based rank type save request.render_page(){@inheritDoc}sanitize_rank_types_field()Sanitize the rank ladders repeater: unique keys, trimmed names and levels sorted by minimum points.
Defined in inc/Extension/Ranks_Admin.php
Changelog
| Version | Description |
|---|---|
| 1.2.3 | Updated. |