@@ -210,6 +210,10 @@ |
||
210 | 210 | * before continuing |
211 | 211 | * @since 6.0.0 |
212 | 212 | */ |
213 | + |
|
214 | + /** |
|
215 | + * @param string $type |
|
216 | + */ |
|
213 | 217 | public function was_checkbox_checked( $type ) { |
214 | 218 | // was sign-up checkbox checked - return the value |
215 | 219 | return ( isset( $_POST[ 'yikes_mailchimp_checkbox_'.$type ] ) && $_POST[ 'yikes_mailchimp_checkbox_'.$type ] == 1 ); |