WP_Privacy_Requests_Table::column_email() WordPress Method
The WP_Privacy_Requests_Table::column_email() method is used to display the email address of the user who made a privacy request in the table. This is useful for quickly finding and responding to requests from specific users.
WP_Privacy_Requests_Table::column_email( WP_User_Request $item ) #
Actions column. Overridden by children.
Parameters
- $item
(WP_User_Request)(Required)Item being shown.
Return
(string) Email column markup.
Source
File: wp-admin/includes/class-wp-privacy-requests-table.php
public function column_email( $item ) { return sprintf( '<a href="%1$s">%2$s</a> %3$s', esc_url( 'mailto:' . $item->email ), $item->email, $this->row_actions( array() ) ); }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
4.9.6 | Introduced. |