Setting default arguments
-
Thanks for a great plugin Bill.
Could you give an example of how to write a filter function to make use of shortcode_atts_display-posts and set a couple of default arguments please?
I’ve tried creating one in functions.php and it successfully sets the two arguments I define in it but then seems to wipe all other arguments and ignore any that I specify in the actual shortcode.
Thanks
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Setting default arguments’ is closed to new replies.