Title: [Plugin: WP Rotator] set default options from function
Last modified: August 20, 2016

---

# [Plugin: WP Rotator] set default options from function

 *  Resolved [Paul de Wouters](https://wordpress.org/support/users/pauldewouters/)
 * (@pauldewouters)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-wp-rotator-set-default-options-from-function/)
 * Hey,
 * wondering how I could define the default dimensions from a theme? Can I pass 
   parameters to wp_rotator?
    I tried using wp_rotator_default_array in my theme
   but I don’t think that works?
 * [http://wordpress.org/extend/plugins/wp-rotator/](http://wordpress.org/extend/plugins/wp-rotator/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Contributor [Bill Erickson](https://wordpress.org/support/users/billerickson/)
 * (@billerickson)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-wp-rotator-set-default-options-from-function/#post-2514756)
 * I think the easiest way is to unhook the wp_rotator() function and rebuild that
   one yourself, since that’s where the wp_query $args are parsed and there’s no
   filter inside it.
 *  Thread Starter [Paul de Wouters](https://wordpress.org/support/users/pauldewouters/)
 * (@pauldewouters)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-wp-rotator-set-default-options-from-function/#post-2514762)
 * thanks Bill, I’ll try that

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[Plugin: WP Rotator] set default options from function’ is closed to 
new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-rotator.svg)
 * [WP Rotator](https://wordpress.org/plugins/wp-rotator/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-rotator/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-rotator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-rotator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-rotator/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Paul de Wouters](https://wordpress.org/support/users/pauldewouters/)
 * Last activity: [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-wp-rotator-set-default-options-from-function/#post-2514762)
 * Status: resolved