Codex

Function Reference/wp widget description

Contents

Description

Retrieve description for widget.

When registering widgets, the options can also include 'description' that describes the widget for display on the widget administration panel or in the theme.

Parameters

$id
(int) (Widget ID.) string
Default: required

Return Values

(string) 
Widget description, if available. Null on failure to retrieve description.

Change Log

Since: 2.5.0

Source File

wp_widget_description() is located in wp-includes/widgets.php