function name miss /
XiaoSeee opened this issue · comments
XiaoSe commented
when in order details page
PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'ACorewoo_display_order_username' not found or invalid function name in /var/www/html/wp-includes/class-wp-hook.php on line 292
miss \
like this
add_action('woocommerce_admin_order_data_after_billing_address', __NAMESPACE__ . '\woo_display_order_username', 10, 1);
Stefano Borzì commented
closed by #45