[memb_php_include] / [memb_php_include_once]

This Applies to
OTHER DOCS Available

Summary

This shortcode displays the contents of the specified PHP file within a website.

Shortcode Examples

The below shortcode will display contents of http://www.yourdomain.com/demo/helloworld_include.php:

[memb_php_include filename=demo/helloworld_include]

Note: Please use this shortcode with caution and do not include the .php extension to the shortcode, as it is automatically added to the filename.

Shortcode Parameters​

filename: Refers to the name of the PHP file on the website that needs to be displayed on a particular page. Through this shortcode, you can use absolute, or relative filenames. The relative filenames will be referenced from the document root.  Do NOT include the .php at the end of the filename.  That will be automatically added.

Shortcode Attributes

Conditional: Yes (?)
Nestable: No (?)
Accepts formatting: No (?)
Capturable: No (?)

  • Was this Helpful?
  • YesNo
9 ways to add more value to your membership site

[memb_php_include, memb_php_include_once]

This Applies To

Book a Call

Welcome to Memberium!

We are very excited for you to be part of our family. 

We would love to answer any questions that you have!

Please choose the best time for you to get in a call with us. 

For Technical Support, you can contact us at https://keap.memberium.com/support/ or Email us at support@memberium.com.