1 | <?php |
||
24 | class Give_Donor_Wall_Widget extends WP_Widget { |
||
25 | |||
26 | /** |
||
27 | * Widget constructor |
||
28 | * |
||
29 | * @since 1.0 |
||
30 | * @access public |
||
31 | */ |
||
32 | public function __construct() { |
||
56 | |||
57 | /** |
||
58 | * Donors gravatars widget content |
||
59 | * |
||
60 | * Outputs the content of the widget |
||
61 | * |
||
62 | * @since 1.0 |
||
63 | * @access public |
||
64 | * |
||
65 | * @param array $args Display arguments including 'before_title', 'after_title', 'before_widget', and 'after_widget'. |
||
66 | * @param array $instance Settings for the current Links widget instance. |
||
67 | * |
||
68 | * @return void |
||
69 | */ |
||
70 | public function widget( $args, $instance ) { |
||
96 | |||
97 | /** |
||
98 | * Update donors gravatars |
||
99 | * |
||
100 | * Processes widget options to be saved. |
||
101 | * |
||
102 | * @since 1.0 |
||
103 | * @access public |
||
104 | * |
||
105 | * @param array $new_instance New settings for this instance as input by the user via WP_Widget::form(). |
||
106 | * @param array $old_instance Old settings for this instance. |
||
107 | * |
||
108 | * @return array Updated settings to save. |
||
109 | */ |
||
110 | public function update( $new_instance, $old_instance ) { |
||
119 | |||
120 | /** |
||
121 | * Output donors |
||
122 | * |
||
123 | * Displays the actual form on the widget page. |
||
124 | * |
||
125 | * @since 1.0 |
||
126 | * @access public |
||
127 | * |
||
128 | * @param array $instance Current settings. |
||
129 | * |
||
130 | * @return void |
||
131 | */ |
||
132 | public function form( $instance ) { |
||
149 | |||
150 | /** |
||
151 | * Register the widget |
||
152 | * |
||
153 | * @return void |
||
154 | */ |
||
155 | function widget_init(){ |
||
158 | |||
159 | } |
||
160 | |||
163 |