WP_Privacy_Requests_Table::column_cb( WP_User_Request $item ): string

Checkbox column.


Parameters

$item WP_User_Request Required
Item being shown.

Top ↑

Return

string Checkbox column markup.


Top ↑

Source

File: wp-admin/includes/class-wp-privacy-requests-table.php. View all references

public function column_cb( $item ) {
	return sprintf( '<input type="checkbox" name="request_id[]" value="%1$s" /><span class="spinner"></span>', esc_attr( $item->ID ) );
}


Top ↑

Changelog

Changelog
Version Description
4.9.6 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.