WP_Privacy_Requests_Table::column_cb( WP_User_Request $item )
Checkbox column.
Parameters
- $item
-
(WP_User_Request) (Required) Item being shown.
Return
(string) Checkbox column markup.
Source
File: wp-admin/includes/class-wp-privacy-requests-table.php
public function column_cb( $item ) { return sprintf( '<input type="checkbox" name="request_id[]" value="%1$s" /><span class="spinner"></span>', esc_attr( $item->ID ) ); }
Changelog
Version | Description |
---|---|
4.9.6 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_privacy_requests_table/column_cb