getFileManager(); try { $customer = new WC_Customer( $user->ID ); $displayName = sprintf( /* translators: $1: customer name, $2 customer id, $3: customer email */ esc_html__( '%1$s (#%2$s – %3$s)', 'woocommerce' ), $customer->get_first_name() . ' ' . $customer->get_last_name(), $customer->get_id(), $customer->get_email() ); } catch ( Exception $e ) { $displayName = $user->display_name ? $user->display_name : $user->ID; } ?>
includeTemplate( 'addons/user-based-pricing/user-pricing-form.php', array( 'pricing_rule' => $pricing_rule, 'product' => $product, 'loop' => $loop, ) ); ?>