Filter hook 'widget_display_callback'
in WP Core File wp-includes/widgets.php at line 1251
Description
Output an arbitrary widget as a template tag. Default `
`, where `%s` is the widget's class name. Default `
`. Default ``. }
Occurrences
Filename |
Line Number |
wp-includes/widgets.php |
1251 |
wp-includes/class-wp-widget.php |
383 |
Parameters
Type |
Name |
Description |
string |
$widget |
The widget's PHP class name (see class-wp-widget.php). |
array |
$instance |
Optional. The widget's instance settings. Default empty array. |
array |
$args |
{ Optional. Array of arguments to configure the display of the widget. |
PHP Doc
/**
* Output an arbitrary widget as a template tag.
*
* @since 2.8.0
*
* @global WP_Widget_Factory $wp_widget_factory
*
* @param string $widget The widget's PHP class name (see class-wp-widget.php).
* @param array $instance Optional. The widget's instance settings. Default empty array.
* @param array $args {
* Optional. Array of arguments to configure the display of the widget.
*
* @type string $before_widget HTML content that will be prepended to the widget's HTML output.
* Default ``, where `%s` is the widget's class name.
* @type string $after_widget HTML content that will be appended to the widget's HTML output.
* Default `
`.
* @type string $before_title HTML content that will be prepended to the widget's title when displayed.
* Default ``.
* }
*/