Uses
Uses | Description |
---|---|
wp-includes/formatting.php: esc_attr() | Escaping for HTML attributes. |
Checkbox column.
(WP_User_Request) (Required) Item being shown.
(string) Checkbox column markup.
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 ) ); }
Version | Description |
---|---|
4.9.6 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_privacy_requests_table/column_cb