LLMS_Shortcode::set_attributes( array $atts = array() )
Merge user attributes with default attributes.
Parameters Parameters
- $atts
-
(array) (Optional) User-submitted shortcode attributes.
Default value: array()
Return Return
(array)
Source Source
File: includes/abstracts/abstract.llms.shortcode.php
protected function set_attributes( $atts = array() ) {
return shortcode_atts(
apply_filters( $this->get_filter( 'get_default_attributes' ), $this->get_default_attributes(), $this ),
$atts,
$this->tag
);
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 5.0.0 | Introduced. |