Custom taxonomy term in WooCommerce product permalink
As always it was too simple in the end, was using the wrong hook. post_link is for posts only should use post_type_link instead. /** * replace the ‘%item%’ tag with the first * term slug in the item taxonomy * * @wp-hook post_link * @param string $permalink * @param WP_Post $post * @return string */ … Read more