Method |
Description |
|
add_fields ( array $fields ) |
Append array of fields to the current fields set. All items of the array
must be instances of Field and their names should be unique for all
Carbon containers. |
|
delete ( Field $field ) |
Delete the field value(s) from the database. |
|
delete_values ( mixed $field ) |
Delete complex field value(s) from the database. |
|
form ( array $instance ) |
Outputs the settings update form. |
|
front_end ( array $args, array $instance ) |
The actual content of the widget. |
|
load ( Field $field ) |
Load the field value(s) from the database. |
|
load_values ( mixed $field ) |
Load complex field value(s) from the database. |
|
save ( Field $field ) |
Save the field value(s) into the database. |
|
setup ( string $title, string $description, array $fields, string $classname = '' ) |
Create the widget. |
|
unwrap_complex_field_values ( $instance, $complex_field_names ) |
Expand complex fields from raw data. |
|
update ( array $new_instance, array $old_instance ) : array |
Updates a particular instance of a widget. |
|
verify_unique_field_name ( string $name ) |
Verify widget field names are unique. |
|
verify_unique_widget_id ( string $id ) |
Verify widget IDs are unique. |
|
widget ( array $args, array $instance ) |
Echoes the widget content. |
|