WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\API

Notes::track_opened_email() public WC 1.0

Track opened emails.

{} It's a method of the class: Notes{}

No Hooks.

Return

null. Nothing.

Usage

$Notes = new Notes();
$Notes->track_opened_email( $request );
$request(WP_REST_Request) (required)
Request object.

Code of Notes::track_opened_email() WC 5.3.0

<?php
public function track_opened_email( $request ) {
	$note = NotesRepository::get_note( $request->get_param( 'note_id' ) );
	if ( ! $note ) {
		return;
	}
	wc_admin_record_tracks_event( 'wcadmin_email_note_opened', array( 'note_name' => $note->get_name() ) );
}