BP_Admin_Setting_Credit
Main credits class.
Description
Source
File: bp-core/admin/settings/bp-admin-setting-credit.php
class BP_Admin_Setting_Credit extends BP_Admin_Setting_tab { public function initialize() { $this->tab_label = __( 'Credits', 'buddyboss' ); $this->tab_name = 'bp-credit'; $this->tab_order = 100; } public function is_tab_visible() { return true; } public function form_html() { require_once trailingslashit( buddypress()->plugin_dir . 'bp-core/admin/templates' ) . '/credit-screen.php'; } }
Changelog
Version | Description |
---|---|
BuddyBoss 1.0.0 | Introduced. |
Methods
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.