WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Deregister widgets with new widget class (3 posts)

  1. Boris
    Member
    Posted 5 years ago #

    I love the new widget class. Makes it all very easy. Just been porting all my old-style widgets over. The thing I can't figure out is, how to deregister the default widgets, like categories or archives. The old function (am in an internet cafe and don't remember the function name) doesn't do the magic anymore...

    Cheers!

  2. MichaelH
    Member
    Posted 5 years ago #

    Looks like the unregister_widget code was just recently updated for the 2.8bleeding version. https://core.trac.wordpress.org/changeset/10991

  3. Boris
    Member
    Posted 4 years ago #

    Thanks, MichaelH!

Topic Closed

This topic has been closed to new replies.

About this Topic