mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Documentation correction: is_active_widget(), props mdawaffe, fixes #9080
git-svn-id: http://svn.automattic.com/wordpress/trunk@10535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
7f7214bb4d
commit
3641891df0
@ -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
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user