\jb\widgetsRecent_Jobs

Class Recent_Jobs

Widget "JobBoardWP - Recent Jobs".

Summary

Methods
Properties
Constants
__construct()
widget()
form()
update()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct() : mixed

Recent_Jobs constructor.

Returns

mixed

widget()

widget(array  $args, array  $instance) : mixed

Echoes the widget content.

Parameters

array $args

Display arguments including 'before_title', 'after_title', 'before_widget' and 'after_widget'.

array $instance

The settings for the particular instance of the widget.

Returns

mixed

form()

form(array  $instance) : mixed

Outputs the settings update form.

Parameters

array $instance

Current settings.

Returns

mixed

update()

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

Updates a particular instance of a widget.

Parameters

array $new_instance

New settings for this instance.

array $old_instance

Old settings for this instance.

Returns

array