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()


Top ↑

Return Return

(array)


Top ↑

Source Source

File: includes/abstracts/abstract.llms.shortcode.php

210
211
212
213
214
215
216
217
218
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
    );
 
}


Top ↑

Changelog Changelog

Changelog
Version Description
5.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.