Documentation

Footnotes_Widget_Reference_Container extends Footnotes_Widget_Base

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

Tags
since
1.5.0
see
Footnotes_Widget_Base
todo

Review implemenation of Widgets API.

Table of Contents

$plugin_name  : string
The ID of this plugin.
__construct()  : mixed
Initialize the class and set its properties.
form()  : mixed
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

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