Allow filtering via shortcode_adds
-
Great little plugin. I have one simple request: Add the
$shortcode
parameter when callingshortcode_atts
.For
accordion
:extract(shortcode_atts(array( 'autoclose' => true, 'openfirst' => false, 'openall' => false, 'clicktoclose' => false, 'scroll' => false ), $atts, 'accordion'));
For
accordion-item
:extract(shortcode_atts(array( 'title' => '', 'tag' => 'h3' ), $atts, 'accordion-item'));
This would just make it easier for themers / developers to set up the default that works best for their design.
Cheers, Eric
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Allow filtering via shortcode_adds’ is closed to new replies.