Thanks for your response, but that’s not quite what I’m looking for. I want to be able to use the image ids from the existing shortcode and not hard code them into the template.
Here’s what I’m looking for. Consider the humble loop:
if (have_posts()) :
while (have_posts()) :
the_post();
{do_something}
the_content();
{do_something_else}
endwhile;
endif;
Your plugin processes the shortcode and inserts the slider markup inside the_content. But I would like to call the slider in the first do_something block, so I can display it before the_content. Since that call would also be within the loop, I believe the image ids would be available.
Being able to directly call the function encapsulated in your plugin would make it much more flexible. What do you think?