@@ -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 | */ |
@@ -470,6 +470,9 @@ discard block |
||
470 | 470 | $response_body = json_decode( wp_remote_retrieve_body( $response ) ); |
471 | 471 | } |
472 | 472 | |
473 | + /** |
|
474 | + * @return string |
|
475 | + */ |
|
473 | 476 | public function get_premium_license( $plugin_slug ) { |
474 | 477 | |
475 | 478 | switch( $plugin_slug ) { |
@@ -767,6 +770,7 @@ discard block |
||
767 | 770 | |
768 | 771 | /** |
769 | 772 | * Convert the php date format string to a js date format |
773 | + * @param string $type |
|
770 | 774 | */ |
771 | 775 | public function yikes_jQuery_datepicker_date_format_php_to_js( $sFormat, $type ) { |
772 | 776 | switch ( $type ) { |