Documentation

Footnotes_Widget_Reference_Container extends Footnotes_Widget_Base
in package

Registers a Widget to put the Reference Container to the widget area.

Tags
since
1.5.0

Table of Contents

$plugin_name  : string
The ID of this plugin.
__construct()  : mixed
Initialize the class and set its properties.
form()  : void
Outputs the Settings of the Widget.
widget()  : mixed
Outputs the Content of the Widget.
get_description()  : string
Returns the Description of the child widget.
get_id()  : string
Returns an unique ID as string used for the Widget Base ID.
get_name()  : string
Returns the Public name of the Widget to be displayed in the Configuration page.
get_widget_width()  : int
Returns the width of the Widget. Default width is 250 pixel.

Properties

Methods

__construct()

Initialize the class and set its properties.

public __construct(string $plugin_name) : mixed
Parameters
$plugin_name : string

The name of this plugin.

Tags
since
2.8.0
Return values
mixed

form()

Outputs the Settings of the Widget.

public form(mixed $instance) : void
Parameters
$instance : mixed

The instance of the widget.

Tags
since
1.5.0
Return values
void

Edit: curly quotes 2.2.0

widget()

Outputs the Content of the Widget.

public widget(mixed $args, mixed $instance) : mixed
Parameters
$args : mixed

The widget's arguments.

$instance : mixed

The instance of the widget.

Tags
since
1.5.0
Return values
mixed

get_widget_width()

Returns the width of the Widget. Default width is 250 pixel.

protected get_widget_width() : int
Tags
since
1.5.0
Return values
int

Search results