WordPress at a glance
function is not described

wc_admin_update_130_remove_dismiss_action_from_tracking_opt_in_note() WC 1.0

Remove Dismiss action from tracking opt-in admin note.

No Hooks.

Return

null. Nothing.

Usage

wc_admin_update_130_remove_dismiss_action_from_tracking_opt_in_note();

Code of wc_admin_update_130_remove_dismiss_action_from_tracking_opt_in_note() WC 5.3.0

<?php
function wc_admin_update_130_remove_dismiss_action_from_tracking_opt_in_note() {
	global $wpdb;

	$wpdb->query( "DELETE actions FROM {$wpdb->prefix}wc_admin_note_actions actions INNER JOIN {$wpdb->prefix}wc_admin_notes notes USING (note_id) WHERE actions.name = 'tracking-dismiss' AND notes.name = 'wc-admin-usage-tracking-opt-in'" );
}