WP_Privacy_Data_Removal_Requests_Table::__constructpublicWP 4.9.6

Deprecated since 5.3.0. It is no longer supported and may be removed in future releases. It is recommended to replace this function with the same one.

Previous class for list table for privacy data erasure requests.

Method of the class: WP_Privacy_Data_Removal_Requests_Table{}

No Hooks.

Returns

null. Nothing (null).

Usage

$WP_Privacy_Data_Removal_Requests_Table = new WP_Privacy_Data_Removal_Requests_Table();
$WP_Privacy_Data_Removal_Requests_Table->__construct( $args );
$args(required)
.

Changelog

Since 4.9.6 Introduced.
Deprecated since 5.3.0

WP_Privacy_Data_Removal_Requests_Table::__construct() code WP 6.8.1

function __construct( $args ) {
	_deprecated_function( __CLASS__, '5.3.0', 'WP_Privacy_Data_Removal_Requests_List_Table' );

	if ( ! isset( $args['screen'] ) || $args['screen'] === 'remove_personal_data' ) {
		$args['screen'] = 'erase-personal-data';
	}

	parent::__construct( $args );
}