WP_Widget
└─c_ws_plugin__s2member_pro_login_widget
public class c_ws_plugin__s2member_pro_login_widget
extends WP_Widget
1.5
Optimize these methods with empty()
and isset()
.
( 5 Methods ) Method Summary | |
---|---|
public null | Constructor. |
public array | configure_options_and_their_defaults(array $options) Configure/validate all widget options; and set their defaults. |
public null | form(array $instance) Widget form control. |
public array | update(array $instance, array $old) Widget updates. |
public null | widget(array $args, array $instance) Widget display. |
public null __construct()
Constructor.
1.5
null
public array configure_options_and_their_defaults(array $options)
Configure/validate all widget options; and set their defaults.
1.5
array $options - Optional. An array of options for a particular instance.
array - Array of options, after having been validated and merged with defaults.
public null form(array $instance)
Widget form control.
1.5
array $instance - Optional. An array of options for this instance.
null
public array update(array $instance, array $old)
Widget updates.
1.5
array $instance - Optional. An array of options for this instance.
array $old - Optional. An old array of options for this instance.
array - New array of options for this instance.
public null widget(array $args, array $instance)
Widget display.
1.5
array $args - Optional. An array of basic settings.
array $instance - Optional. An array of options for this instance.
null
Pro Login Widget.