@@ -11,6 +11,9 @@ |
||
| 11 | 11 | |
| 12 | 12 | // -------------------------------------------------------------------- |
| 13 | 13 | |
| 14 | +/** |
|
| 15 | + * @param integer $user_id |
|
| 16 | + */ |
|
| 14 | 17 | function wsl_component_contacts_list( $user_id ) |
| 15 | 18 | { |
| 16 | 19 | // HOOKABLE: |
@@ -25,6 +25,9 @@ |
||
| 25 | 25 | */ |
| 26 | 26 | if( ! function_exists( 'wsl_admin_notification' ) ) |
| 27 | 27 | { |
| 28 | + /** |
|
| 29 | + * @param integer $user_id |
|
| 30 | + */ |
|
| 28 | 31 | function wsl_admin_notification( $user_id, $provider ) |
| 29 | 32 | { |
| 30 | 33 | //Get the user details |
@@ -57,6 +57,9 @@ |
||
| 57 | 57 | |
| 58 | 58 | // -------------------------------------------------------------------- |
| 59 | 59 | |
| 60 | +/** |
|
| 61 | + * @param string $action_name |
|
| 62 | + */ |
|
| 60 | 63 | function wsl_watchdog_log_action( $action_name, $action_args = array(), $user_id = 0 ) |
| 61 | 64 | { |
| 62 | 65 | $provider = wsl_process_login_get_selected_provider(); |
@@ -241,6 +241,10 @@ |
||
| 241 | 241 | function wsl_bp_user_custom_avatar($html, $args){ wsl_deprecated_function( __FUNCTION__, '2.2.3' ); return wsl_get_bp_user_custom_avatar($html, $args); } |
| 242 | 242 | |
| 243 | 243 | // nag about it |
| 244 | +/** |
|
| 245 | + * @param string $function |
|
| 246 | + * @param string $version |
|
| 247 | + */ |
|
| 244 | 248 | function wsl_deprecated_function( $function, $version ) |
| 245 | 249 | { |
| 246 | 250 | // user should be admin and logged in |
@@ -133,6 +133,10 @@ |
||
| 133 | 133 | */ |
| 134 | 134 | if( ! function_exists( 'wsl_render_error_page' ) ) |
| 135 | 135 | { |
| 136 | + /** |
|
| 137 | + * @param string $notes |
|
| 138 | + * @param string $api_error |
|
| 139 | + */ |
|
| 136 | 140 | function wsl_render_error_page( $message, $notes = null, $provider = null, $api_error = null, $php_exception = null ) |
| 137 | 141 | { |
| 138 | 142 | $assets_base_url = WORDPRESS_SOCIAL_LOGIN_PLUGIN_URL . 'assets/img/'; |