Skip to main content

With this filter you can overwrite the „No”-value of all fields of a product.

add_filter('at_product_fields_false_value', 'at_set_false_value', 11, 2);
function at_set_false_value($value, $post_id) {
	if($post_id == 3044) {
		return 'NO';
	}
	
	return $value;
}

Was this article helpful?

1 Star2 Stars3 Stars4 Stars5 Stars
(No Ratings Yet)

Keine Kommentare vorhanden


You have a question or an opinion about this post? Share it with us!

Your email address will not be published. Required fields are marked *

*
*