Class: \Conifer\Shortcode\Button
Implements a custom button shortcode that allows the client to turn any tag in an RTE into a styled button. Only works for content-style shortcodes with start/end tags, e.g. [button]Click Here[/button]
Visibility | Function |
---|---|
public | render(array $atts=array(), \string $html='' )</strong> : string the modified tag HTMLGet the HTML for rendering the button link Acceptable params: * class : the class to add to the <a> tag (default is "btn" ) |
This class extends \Conifer\Shortcode\AbstractBase