WC_AJAX::order_add_meta
Reimplementation of WP core's wp_ajax_add_meta method to support order custom meta updates with custom tables.
Method of the class: WC_AJAX{}
No Hooks.
Returns
null. Nothing (null).
Usage
$result = WC_AJAX::order_add_meta();
WC_AJAX::order_add_meta() WC AJAX::order add meta code WC 10.8.1
private static function order_add_meta() {
wc_get_container()->get( CustomMetaBox::class )->add_meta_ajax();
}