Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wp_all_import_variation_any_attribute #50

Open
Programmer095 opened this issue Mar 20, 2019 · 0 comments
Open

wp_all_import_variation_any_attribute #50

Programmer095 opened this issue Mar 20, 2019 · 0 comments

Comments

@Programmer095
Copy link
Contributor

Requires WooCo Add-On 3.0.7-beta-2.8 or higher.

Allows setting all variations to 'Any' for a certain Attribute that had its values imported with the first variation in the file when using one of the 'no parents' variation grouping options.

Internal Ticket 80616

add_filter('wp_all_import_variation_any_attribute', 'wpai_wp_all_import_variation_any_attribute', 10, 2);
function wpai_wp_all_import_variation_any_attribute($is_any_attribute, $import_id){
	return true;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant