| | | |

How to update your current wishlist count at the header section via AJAX.

Using your Add to Wishlist button with the specific product, after clicking this will automatically add to your wishlist page. See the button mark up below. Credit to https://wordpress.org/support/topic/get-total-wishlist-via-ajax?replies=2#post-6886464