\Jetpack_Readmill_Widget

Summary

Methods
Properties
Constants
__construct()
enqueue_script()
form()
update()
widget()
$default_title
$default_size
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$default_title

$default_title

$default_size

$default_size

Methods

__construct()

__construct()

Registers the widget with WordPress.

enqueue_script()

enqueue_script()

form()

form(array $instance)

Back-end widget form.

Parameters

array $instance

Previously saved values from database.

update()

update(array $new_instance, array $old_instance) : array

Sanitize widget form values as they are saved.

Parameters

array $new_instance

Values just sent to be saved.

array $old_instance

Previously saved values from database.

Returns

array —

Updated safe values to be saved.

widget()

widget(array $args, array $instance)

Front-end display of widget.

Parameters

array $args

Widget arguments.

array $instance

Saved values from database.