BP_Admin_Tab::is_saving()
Determine whether current request is saving on the current tab
Description
Source
File: bp-core/classes/class-bp-admin-tab.php
public function is_saving() { if ( ! isset( $_GET['page'] ) || ! isset( $_POST['submit'] ) ) { return false; } if ( $this->menu_page != $_GET['page'] ) { return false; } if ( $this->tab_name != $this->get_active_tab() ) { return false; } return true; }
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.