# s2member/260805/src/includes/menu-pages/code-samples/paypal-api-username.x-php

s2Member – Excellent for All Kinds of Memberships, Content Restriction Paywalls &amp; Member Access Subscriptions, version 260805. 7 lines.

- Page: https://pluginprobe.com/plugins/s2member/260805/code/src/includes/menu-pages/code-samples/paypal-api-username.x-php
- Raw: https://pluginprobe.com/plugins/s2member/260805/raw/src/includes/menu-pages/code-samples/paypal-api-username.x-php
- Modified: 2016-11-29T22:22:10+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/s2member/260805/code/src/includes/menu-pages/code-samples/paypal-api-username.x-php#L10-L20`.

```
<?php echo S2MEMBER_PAYPAL_API_USERNAME; ?>
This may output something like: example-pro_api1.example.com
(or whatever you have configured as your PayPal® API Username)

---- s2member Shortcode Equivalent ----

[s2Get constant="S2MEMBER_PAYPAL_API_USERNAME" /]
```
