Skip to main content

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

ParametersDescription
fileThe 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

Includes the content of the file /full/path/to/my/file.php.

[mbr_include file='/full/path/to/my/file.php']

API

Note

There is no ActiveMember360 API function equivalent for this shortcode. Please use the PHP function include.