LLMS_Shortcode::output( array $atts = array(), string $content = '' )
Output the actual content of the shortcode This is the callback function used by add_shortcode and can also be used programmatically, used in some widgets
Description Description
$atts & $content are both filtered before being passed to get_output() output is filtered so the return of get_output() doesn’t need its own filter
Parameters Parameters
- $atts
-
(Optional) user submitted shortcode attributes
Default value: array()
- $content
-
(Optional) user submitted content
Default value: ''
Return Return
(string)
Source Source
File: includes/abstracts/abstract.llms.shortcode.php
Changelog Changelog
Version | Description |
---|---|
5.0.0 | Merge attributes in a separate method. |
3.5.1 | Unknown. |
3.4.3 | Introduced. |