WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Remove widgets from the Available Widgets pool? (3 posts)

  1. sharris203
    Member
    Posted 4 years ago #

    Is it possible to remove widgets from the Available Widgets pool (either by plugin or editing core files)?

    Any help would be great. There are 3 widget files located at
    /wp-includes/widgets.php
    /wp-admin/widgets.php
    /wp-admin/includes/widgets.php

  2. Mark / t31os
    Moderator
    Posted 4 years ago #

    Not quite sure what you mean, but maybe this will help.
    http://codex.wordpress.org/Function_Reference/unregister_sidebar_widget

    There's also unregister_widget and unregister_widget_control, but neither currently have a codex page, so you'll need to dig into the code to understand their usage.

  3. sharris203
    Member
    Posted 4 years ago #

    Thanks for the link. I'll see what I can come up with.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags