Title: php call
Last modified: August 21, 2016

---

# php call

 *  Resolved [viperxd](https://wordpress.org/support/users/viperxd/)
 * (@viperxd)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/php-call/)
 * How would I call the download url via PHP instead of the shortcode?
 * (I want to add the url outside the post content, after post meta or so….)
 * [https://wordpress.org/plugins/download-attachments/](https://wordpress.org/plugins/download-attachments/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [viperxd](https://wordpress.org/support/users/viperxd/)
 * (@viperxd)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/php-call/#post-4719401)
 * I guess it would be this
    `<?php echo do_shortcode('[download-attachment attachment_id
   ="85"]'); ?>`
 *  Plugin Author [dFactory](https://wordpress.org/support/users/dfactory/)
 * (@dfactory)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/php-call/#post-4719404)
 * It’s all available in pure php functions as well without the need of shortcode.
 * Just take a look at includes/functions.php in plugin folder.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘php call’ is closed to new replies.

 * ![](https://ps.w.org/download-attachments/assets/icon-256x256.png?rev=1018456)
 * [Download Attachments](https://wordpress.org/plugins/download-attachments/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/download-attachments/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/download-attachments/)
 * [Active Topics](https://wordpress.org/support/plugin/download-attachments/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/download-attachments/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/download-attachments/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [dFactory](https://wordpress.org/support/users/dfactory/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/php-call/#post-4719404)
 * Status: resolved