widget() widget( $args, $instance) : void Display the widget content - called from the WordPress "front end" Parameters $args $instance
form() form( $instance) : void Echo the "edit widget" form on the Appearance/Widgets admin screen Parameters $instance
update() update( $new_instance, $old_instance) : array Sanitize widget definition as it is saved to the database Parameters $new_instance $old_instance Returns array — Updated definition values to be saved in the database
mla_text_widget_widgets_init_action() mla_text_widget_widgets_init_action() : void Register the widget with WordPress Defined as public because it's an action.