We have function like that:
must_be_hide($post_id) { $bool = in_array($post_id, array(1, 2, 3, 4 ,5)); return $bool; }
How with this function hide product from woocomerce catalog (shop) and search result?
Aucun commentaire:
Enregistrer un commentaire