mbr_include
Usage
This shortcode includes the content of the file specified.
It provides the same functionality as the regular PHP include
functionality but as a shortcode.
Parameters
Parameters | Description |
---|---|
file | The file name with it's file system path. The file system path can be specified as either the full path from the system root or the relative path from the document root. Default: none. Required: yes. |
Validity
This shortcode is evaluated for any type of visitor.
Conditional Branching
This shortcode does NOT support conditional branching with [ELSE_include].
Nesting
Shortcode nesting within is NOT supported.
Examples
- Example 1
- Example 2
Includes the content of the file /full/path/to/my/file.php.
[mbr_include file='/full/path/to/my/file.php']
Includes the content of the file relative/path/to/my/file.php.
[mbr_include file='relative/path/to/my/file.php']
API
Note
There is no ActiveMember360 API function equivalent for this shortcode. Please use the PHP function include.