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.


Top ↑

Return

(string) Email column markup.


Top ↑

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() ) );
	}


Top ↑

Changelog

Changelog
VersionDescription
4.9.6Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.