Overview

Packages

  • Simmer
    • Admin
      • Bulk
      • Functions
      • Recipes
      • Settings
    • Deprecated
    • Frontend
    • Install
    • Recipes
      • Items
        • Ingredients
        • Instructions
      • Shortcode
    • Upgrade
    • Widgets

Classes

  • Simmer_Categories_Widget
  • Simmer_Recent_Recipes_Widget
  • Simmer_Widgets
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo

Class Simmer_Categories_Widget

WP_Widget
Extended by Simmer_Categories_Widget
Package: Simmer\Widgets
Located at core/widgets/class-simmer-categories-widget.php
Methods summary
public
# __construct( )

Construct the widget.

Construct the widget.

Since

1.1.0

See

WP_Widget
public
# widget( array $args, array $instance )

Display the widget on the front end.

Display the widget on the front end.

Parameters

$args
The sidebar args for the instance.
$instance
The instance and its settings.

Since

1.1.0
public array
# update( array $new_instance, array $old_instance )

Set the new settings for the instance.

Set the new settings for the instance.

Parameters

$new_instance
The new settings.
$old_instance
The old settings.

Returns

array
$instance The updated settings.

Since

1.1.0
public
# form( array $instance )

Display the settings fields for the widget.

Display the settings fields for the widget.

Parameters

$instance
The instance's settings.

Since

1.1.0
Properties summary
protected string $widget_slug

Unique identifier for the widget.

Unique identifier for the widget.

Since

1.1.0
# 'simmer-recipe-categories'
Simmer API documentation generated by ApiGen