BP_Members_Admin::signup_screen_options( int $value, string $option = '', int $new_value )
Display the admin preferences about signups pagination.
Description
Parameters
- $value
-
(Required) Value for signup option.
- $option
-
(Optional) Value for the option key.
Default value: ''
- $new_value
-
(Required) Value for the saved option.
Return
(int) The pagination preferences.
Source
File: bp-members/classes/class-bp-members-admin.php
public function signup_screen_options( $value = 0, $option = '', $new_value = 0 ) { if ( 'users_page_bp_signups_network_per_page' != $option && 'users_page_bp_signups_per_page' != $option ) { return $value; } // Per page. $new_value = (int) $new_value; if ( $new_value < 1 || $new_value > 999 ) { return $value; } return $new_value; }
Changelog
Version | Description |
---|---|
BuddyPress 2.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.