WP_Privacy_Requests_Table::single_row()
Generates content for a single row of the table,
Method of the class: WP_Privacy_Requests_Table{}
No Hooks.
Return
null
. Nothing (null).
Usage
$WP_Privacy_Requests_Table = new WP_Privacy_Requests_Table(); $WP_Privacy_Requests_Table->single_row( $item );
- $item(WP_User_Request) (required)
- The current item.
Changelog
Since 4.9.6 | Introduced. |
WP_Privacy_Requests_Table::single_row() WP Privacy Requests Table::single row code WP 6.5.2
public function single_row( $item ) { $status = $item->status; echo '<tr id="request-' . esc_attr( $item->ID ) . '" class="status-' . esc_attr( $status ) . '">'; $this->single_row_columns( $item ); echo '</tr>'; }