Change author product from vendor list
-
Hi,
I need to change the author of the products from vendors list.
I tried this function but I can see only the admin.Anyone can help me to show in the list the vendors and assign him like author of the product, please?
thank youif ( ! defined( ‘ABSPATH’ ) ) {
exit;
}function function_add_author_cwpa() {
add_post_type_support( ‘product’, ‘author’ );
}
add_action(‘init’, ‘function_add_author_cwpa’, 999 );
- The topic ‘Change author product from vendor list’ is closed to new replies.