@@ -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(); |
@@ -103,6 +103,11 @@ |
||
103 | 103 | */ |
104 | 104 | if( ! function_exists( 'wsl_render_error_page' ) ) |
105 | 105 | { |
106 | + /** |
|
107 | + * @param string $message |
|
108 | + * @param string $notes |
|
109 | + * @param string $api_error |
|
110 | + */ |
|
106 | 111 | function wsl_render_error_page( $message, $notes = null, $provider = null, $api_error = null, $php_exception = null ) |
107 | 112 | { |
108 | 113 | $assets_base_url = WORDPRESS_SOCIAL_LOGIN_PLUGIN_URL . 'assets/img/'; |
@@ -100,6 +100,9 @@ discard block |
||
100 | 100 | |
101 | 101 | // -------------------------------------------------------------------- |
102 | 102 | |
103 | +/** |
|
104 | + * @param string $field |
|
105 | + */ |
|
103 | 106 | function wsl_get_stored_hybridauth_user_profiles_count_by_field( $field ) |
104 | 107 | { |
105 | 108 | global $wpdb; |
@@ -111,6 +114,9 @@ discard block |
||
111 | 114 | |
112 | 115 | // -------------------------------------------------------------------- |
113 | 116 | |
117 | +/** |
|
118 | + * @param integer $limit |
|
119 | + */ |
|
114 | 120 | function wsl_get_stored_hybridauth_user_profiles_grouped_by_user_id( $offset, $limit ) |
115 | 121 | { |
116 | 122 | global $wpdb; |
@@ -133,6 +139,9 @@ discard block |
||
133 | 139 | |
134 | 140 | // -------------------------------------------------------------------- |
135 | 141 | |
142 | +/** |
|
143 | + * @param integer $limit |
|
144 | + */ |
|
136 | 145 | function wsl_get_stored_hybridauth_user_contacts_by_user_id( $user_id, $offset, $limit ) |
137 | 146 | { |
138 | 147 | global $wpdb; |