WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] wp_register_sidebar_widget vs. register_sidebar_widget (2 posts)

  1. Bernhard Riedl
    Member
    Posted 5 years ago #

    hi folks,

    just a quick question. - i currently use register_sidebar_widget to include my plugins in the dynamic sidebar. - unfortunately it is not possible to add a description for the widget with this function.

    if you have a look in the widgets.php, you can see that in contrast to the recommendations in the api, the included widgets by automatic implement wp_register_sidebar_widget instead and thus also have a description.

    which function do you use? do you think that wp_register_sidebar_widget will be changed in the (near) future or can it be used without re-coding on every wp update?

    greetz,
    berny

  2. Bernhard Riedl
    Member
    Posted 5 years ago #

    has been resolved by the wp 2.8 widget api and the WP_Widget class.

    berny

Topic Closed

This topic has been closed to new replies.

About this Topic