# s2member/110913/includes/menu-pages/code-samples/current-user-downloads-currently.php

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

- Page: https://pluginprobe.com/plugins/s2member/110913/code/includes/menu-pages/code-samples/current-user-downloads-currently.php
- Raw: https://pluginprobe.com/plugins/s2member/110913/raw/includes/menu-pages/code-samples/current-user-downloads-currently.php
- Modified: 2011-09-14T05:54: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/110913/code/includes/menu-pages/code-samples/current-user-downloads-currently.php#L10-L20`.

```php
<?php echo S2MEMBER_CURRENT_USER_DOWNLOADS_CURRENTLY; ?>
This will output the number of files they've downloaded recently.
( that is, the number of files within the last X days, according to your configuration )

---- s2member Shortcode Equivalent ----

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