@@ -1051,6 +1051,7 @@ discard block |
||
| 1051 | 1051 | * @param string | $slug | The type of message we're looking for |
| 1052 | 1052 | * @param string | $response_text| The default response message |
| 1053 | 1053 | * @param array | $data | An array of data that may be needed to construct the user's error message |
| 1054 | + * @param string $slug |
|
| 1054 | 1055 | * @return string| $response_text| The $response_text (after it's potentially been changed) |
| 1055 | 1056 | */ |
| 1056 | 1057 | protected function check_for_user_defined_response_message( $slug, $response_text, $data = false ) { |
@@ -1198,6 +1199,7 @@ discard block |
||
| 1198 | 1199 | * |
| 1199 | 1200 | * @param string | $message | The response message |
| 1200 | 1201 | * @param bool | $is_success | Boolean signifying if we're returning a success message or an error message |
| 1202 | + * @param boolean $is_success |
|
| 1201 | 1203 | * @return string| The $message wrapping in HTML |
| 1202 | 1204 | */ |
| 1203 | 1205 | public function wrap_form_submission_response( $message, $is_success ) { |
@@ -1242,6 +1244,7 @@ discard block |
||
| 1242 | 1244 | * @param string | $response | The response message to display to the user |
| 1243 | 1245 | * @param array | $additional_fields | An array of additional fields to return |
| 1244 | 1246 | * @param bool | $return_response_non_ajax | Boolean deciding if we need to return a message |
| 1247 | + * @param integer $hide |
|
| 1245 | 1248 | * |
| 1246 | 1249 | * @return If AJAX, return $this->yikes_send_json_error(). If not AJAX, return an array || false. |
| 1247 | 1250 | */ |
@@ -489,6 +489,9 @@ discard block |
||
| 489 | 489 | $response_body = json_decode( wp_remote_retrieve_body( $response ) ); |
| 490 | 490 | } |
| 491 | 491 | |
| 492 | + /** |
|
| 493 | + * @return string |
|
| 494 | + */ |
|
| 492 | 495 | public function get_premium_license( $plugin_slug ) {
|
| 493 | 496 | |
| 494 | 497 | switch( $plugin_slug ) {
|
@@ -823,6 +826,7 @@ discard block |
||
| 823 | 826 | |
| 824 | 827 | /** |
| 825 | 828 | * Convert the php date format string to a js date format |
| 829 | + * @param string $type |
|
| 826 | 830 | */ |
| 827 | 831 | public function yikes_jQuery_datepicker_date_format_php_to_js( $sFormat, $type ) {
|
| 828 | 832 | switch ( $type ) {
|
@@ -1318,8 +1322,6 @@ discard block |
||
| 1318 | 1322 | * the correct WordPress options API (old plugin stored options wierdly) |
| 1319 | 1323 | * |
| 1320 | 1324 | * @since 1.0.0 |
| 1321 | - * @param string $yikes_inc_easy_mailchimp_extender The name of this plugin. |
|
| 1322 | - * @param string $version The version of this plugin. |
|
| 1323 | 1325 | */ |
| 1324 | 1326 | public function check_for_old_yks_mc_options() {
|
| 1325 | 1327 | $old_plugin_options = get_option( 'ykseme_storage' ); |
@@ -1354,8 +1356,6 @@ discard block |
||
| 1354 | 1356 | * the correct WordPress options API (old plugin stored options wierdly) |
| 1355 | 1357 | * |
| 1356 | 1358 | * @since 1.0.0 |
| 1357 | - * @param string $yikes_inc_easy_mailchimp_extender The name of this plugin. |
|
| 1358 | - * @param string $version The version of this plugin. |
|
| 1359 | 1359 | */ |
| 1360 | 1360 | public function display_options_migrate_notice() {
|
| 1361 | 1361 | |