process_bulk_action example

$requests_table = _get_list_table( 'WP_Privacy_Data_Removal_Requests_List_Table', $_list_table_args );

$requests_table->screen->set_screen_reader_content(
    array(
        'heading_views'      => __( 'Filter erase personal data list' ),
        'heading_pagination' => __( 'Erase personal data list navigation' ),
        'heading_list'       => __( 'Erase personal data list' ),
    )
);

$requests_table->process_bulk_action();
$requests_table->prepare_items();

require_once ABSPATH . 'wp-admin/admin-header.php';
?> <div class="wrap nosubsub"> <h1><?php esc_html_e( 'Erase Personal Data' ); ?></h1> <p><?php _e( 'This tool helps site owners comply with local laws and regulations by deleting or anonymizing known data for a given user.' ); ?></p> <hr class="wp-header-end" /> <?php settings_errors(); ?>
$requests_table = _get_list_table( 'WP_Privacy_Data_Export_Requests_List_Table', $_list_table_args );

$requests_table->screen->set_screen_reader_content(
    array(
        'heading_views'      => __( 'Filter export personal data list' ),
        'heading_pagination' => __( 'Export personal data list navigation' ),
        'heading_list'       => __( 'Export personal data list' ),
    )
);

$requests_table->process_bulk_action();
$requests_table->prepare_items();

require_once ABSPATH . 'wp-admin/admin-header.php';
?> <div class="wrap nosubsub"> <h1><?php esc_html_e( 'Export Personal Data' ); ?></h1> <p><?php _e( 'This tool helps site owners comply with local laws and regulations by exporting known data for a given user in a .zip file.' ); ?></p> <hr class="wp-header-end" /> <?php settings_errors(); ?>
Home | Imprint | This part of the site doesn't use cookies.