Update custom.php

Updated for WooCommerce Product Add-Ons v. 2.5.3