I’m looking at the function the_widget
<?php the_widget($widget, $instance, $args); ?>
I have used to to output a widget outside of the sidebar.. essentially anywhere on a page.
But now I can’t figure out how to find what the $arg and $instance are for the widget so I can sort it in descending order instead of ascending.
I know there’s something in the plugin code that will tell me what the arg and instance are but I don’t know what to look for.
Does anyone know?
- The topic ‘How to find the args and instance for a plugin generated widget?’ is closed to new replies.