BP_Admin_Tab::maybe_save_admin_settings()
Save the fields if it’s form post request
Description
Source
File: bp-core/classes/class-bp-admin-tab.php
public function maybe_save_admin_settings() { if ( ! $this->is_saving() ) { return false; } check_admin_referer( $this->tab_name . '-options' ); $this->settings_save(); do_action( 'bp_admin_tab_setting_save', $this->tab_name, $this ); $this->settings_saved(); do_action( 'bp_admin_tab_setting_saved', $this->tab_name, $this ); }
Changelog
Version | Description |
---|---|
BuddyBoss 1.0.0 | Introduced. |
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.