WordPress.org

Ready to get started?Download WordPress

Forums

Widget Settings Importer/Exporter
[resolved] Switch from 'ini' to 'widgets_init' (2 posts)

  1. metaphorcreations
    Member
    Posted 8 months ago #

    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/

  2. metaphorcreations
    Member
    Posted 8 months ago #

    I did some more testing and that didn't always resolve the issue either... so, feel free to discard my post.

Reply

You must log in to post.

About this Plugin

About this Topic