Documentation correction: is_active_widget(), props mdawaffe, fixes #9080

git-svn-id: https://develop.svn.wordpress.org/trunk@10535 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2009-02-10 15:22:08 +00:00
parent bfe3dfd22d
commit 7e98d2b7f8
1 changed files with 2 additions and 3 deletions

View File

@ -486,9 +486,8 @@ function dynamic_sidebar($index = 1) {
/**
* Whether widget is registered using callback with widget ID.
*
* Will only check if both parameters are used. Used to find which sidebar the
* widget is located in, but requires that both the callback and the widget ID
* be known.
* Without the optional $widget_id parameter, returns the ID of the first sidebar in which the first instance of the widget with the given callback is found.
* With the $widget_id parameter, returns the ID of the sidebar in which the widget with that callback AND that ID is found.
*
* @since 2.2.0
*