Support » Plugin: Widget Settings Importer/Exporter » Switch from 'ini' to 'widgets_init'

  • Resolved metaphorcreations

    (@metaphorcreations)


    I was wondering if you could switch:

    add_action( 'init', array( 'Widget_Data', 'init' ) );

    to

    add_action( 'widgets_init', array( 'Widget_Data', 'init' ), 20 );

    The plugin is working great, but I use the WooSidebars plugin in themes and the ‘init’ action fires before the custom WooSidebars are registered on ‘widgets_init’. I am including a modified version of this plugin in my themes to work with WooSidebars, but thought others may be registering sidebars on ‘widgets_init’ as well and losing this great and very useful functionality of your plugin.

    Thanks!

    http://wordpress.org/plugins/widget-settings-importexport/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Switch from 'ini' to 'widgets_init'’ is closed to new replies.