[wps-friends-pending]
Purpose
Displays pending friendship requests for the current user.
Displays the pending friendship requests, from which the user can choose to Accept or Reject. Putting this shortcode above [wpsfriends] is a good place.
Availability
Provided in the Core Plugin.
Customising
You can use the global shortcode settings via WPS Pro->Shortcodes in the admin dashboard, or add them to the shortcode as options.
Example
Display requests, up to a maximum of 3:
[wps-friends-pending count="3"]
Options
The following (which shows default values and an example of using the shortcode option) can be set via the admin dashboard (WPS Pro->Shortcodes) or added as options to the shortcode in your WordPress page, post or widget.
Maximum number of requests to show | (count=”10″) | |
Avatar size | (size=”64″) | |
Link avatar to profile page | (link=”1″) | |
Optional CSS class for button | (class=””) | |
Label for accept button | (accept_request_label=”Accept”) | |
Label for reject button | (reject_request_label=”Reject”) | |
Text for no friendship requests | (none=””) |