wc_update_360_term_meta()

Renames ordering meta to be consistent across taxonomies.


Description Description


Source Source

File: includes/wc-update-functions.php

function wc_update_360_term_meta() {
	global $wpdb;

	$wpdb->query( "UPDATE {$wpdb->termmeta} SET meta_key = 'order' WHERE meta_key LIKE 'order_pa_%';" );
}

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.