BP_Members_List_Table::single_row( object|null $signup_object = null, string $style = '', string $role = '', int $numposts )
Display a signup row.
Description
See also
- WP_List_Table::single_row(): for explanation of params.
Parameters
- $signup_object
-
(Optional) Signup user object.
Default value: null
- $style
-
(Optional) Styles for the row.
Default value: ''
- $role
-
(Optional) Role to be assigned to user.
Default value: ''
- $numposts
-
(Required) Numper of posts.
Return
(void)
Source
File: bp-members/classes/class-bp-members-list-table.php
254 255 256 257 258 | public function single_row( $signup_object = null, $style = '' , $role = '' , $numposts = 0 ) { echo '<tr' . $style . ' id="signup-' . esc_attr( $signup_object ->id ) . '">' ; echo $this ->single_row_columns( $signup_object ); echo '</tr>' ; } |
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.