LemonStand Documentation

global_content_block

function global_content_block($code, $return_content = false)

Outputs a global content block. This function can be used inside a page, layout or partial. You can manage global content blocks on the CMS/Content page. Please read the Global content blocks article for usage details.

Parameters

  • $code - string. Specifies the content block code.
  • $return_content - boolean. Indicates that the block content should be returned from the function instead of outputting it to the browser.

Return value

If the $return_content parameter is TRUE, the function returns the global content block content.

Next: customer_logout
Previous: content_block
Return to Reference