Changeset 49963 for trunk/src/wp-includes/widgets.php
- Timestamp:
- 01/15/2021 08:06:50 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/widgets.php
r49790 r49963 880 880 * @global array $wp_registered_widgets 881 881 * 882 * @param callable|false $callback Optional, Widget callback to check. Default false. 883 * @param int|false $widget_id Optional. Widget ID. Optional, but needed for checking. Default false. 884 * @param string|false $id_base Optional. The base ID of a widget created by extending WP_Widget. Default false. 885 * @param bool $skip_inactive Optional. Whether to check in 'wp_inactive_widgets'. Default true. 886 * @return string|false False if widget is not active or id of sidebar in which the widget is active. 882 * @param callable|false $callback Optional. Widget callback to check. Default false. 883 * @param int|false $widget_id Optional. Widget ID. Optional, but needed for checking. 884 * Default false. 885 * @param string|false $id_base Optional. The base ID of a widget created by extending WP_Widget. 886 * Default false. 887 * @param bool $skip_inactive Optional. Whether to check in 'wp_inactive_widgets'. 888 * Default true. 889 * @return string|false ID of the sidebar in which the widget is active, 890 * false if the widget is not active. 887 891 */ 888 892 function is_active_widget( $callback = false, $widget_id = false, $id_base = false, $skip_inactive = true ) {
Note: See TracChangeset
for help on using the changeset viewer.