<?php if (function_exists('wc_print_messages')) { wc_print_messages(); } else { global $woocommerce; $woocommerce->show_messages(); } ?> <?php if (PV_Vendors::is_pending(get_current_user_id())) { ?> <p><?php _e('Your account has not yet been approved to become a vendor.', 'wc_product_vendor'); ?> </p> <?php } else { ?> <p><?php _e('Your account is not vendor capable.', 'wc_product_vendor'); ?> </p> <?php if (Product_Vendor::$pv_options->get_option('show_vendor_registration')) { ?>