WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана

wc_admin_update_130_remove_dismiss_action_from_tracking_opt_in_note() WC 1.0

Remove Dismiss action from tracking opt-in admin note.

Хуков нет.

Возвращает

Null. Ничего.

Использование

wc_admin_update_130_remove_dismiss_action_from_tracking_opt_in_note();

Код wc admin update 130 remove dismiss action from tracking opt in note: woocommerce/packages/woocommerce-admin/includes/wc-admin-update-functions.php WC 4.3.1

<?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'" );
}