[ Index ] |
PHP Cross Reference of BuddyPress |
[Source view] [Print] [Project Stats]
BuddyPress Membership Requests
File Size: | 452 lines (16 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
bp_members_membership_requests_cancel_activation_email( $send, $user_id = 0, $user_email = '', $activation_key = '', $usermeta = array() X-Ref |
Single site: When a user creates a membership request, prevent the sending of the activation email so that the site admins can send it manually. param: bool $send Whether or not to send the activation key. param: int $user_id User ID to send activation key to. param: string $user_email User email to send activation key to. param: string $activation_key Activation key to be sent. param: array $usermeta Miscellaneous metadata about the user (blog-specific since: 10.0.0 return: bool Whether or not to send the activation key. |
bp_members_membership_requests_cancel_activation_email_multisite( $send = true, $user_login = '', $user_email = '', $activation_key = '', $is_signup_resend = false ) X-Ref |
WP Multisite: When a user creates a membership request, prevent the sending of the activation email so that the site admins can send it manually. param: bool $send Whether or not to send the activation key. param: string $user_login User login name. param: string $user_email User email address. param: string $activation_key Activation key created in wpmu_signup_user(). param: bool $is_signup_resend Is the site admin sending this email? since: 10.0.0 return: bool Whether or not to send the activation key. |
bp_members_membership_requests_notify_site_admins( $signup ) X-Ref |
Notify site admins about a new membership request. param: BP_Signup $signup The signup object that has been created. since: 10.0.0 |
bp_members_membership_requests_send_rejection_mail( $signup_ids ) X-Ref |
Send a message to the requesting user when his or her site membership request has been rejected. param: array $signup_ids Array of pending IDs to delete. since: 10.0.0 |
bp_members_membership_requests_delete_notifications_on_change( $signup_ids ) X-Ref |
When a request is approved, activated or deleted, delete the associated notifications. param: array $signup_ids Array of changing signup IDs. since: 10.0.0 |
bp_members_membership_requests_filter_complete_signup_button( $buttons ) X-Ref |
In the Nouveau template pack, when membership requests are required, change registration form submit button label to "Submit Request". since: 10.0.0 return: string $retval the HTML for the request membership link. |
bp_members_membership_requests_filter_signup_row_actions( $actions, $signup_object ) X-Ref |
Filter the actions available on the signups list table. param: array $actions Array of actions and corresponding links. param: object $signup_object The signup data object. since: 10.0.0 |
bp_members_membership_requests_filter_signup_bulk_actions( $actions ) X-Ref |
Filter the bulk actions available on the signups list table. param: array $actions Array of actions and corresponding links. since: 10.0.0 return: array List of actions and corresponding links. |
bp_members_membership_requests_filter_signup_table_date_sent_header( $columns ) X-Ref |
Filter the "Last Sent" column header on the pending users table. param: array $columns Array of columns to display. since: 10.0.0 return: array List of columns to display. |
bp_members_membership_requests_filter_signup_table_unsent_message( $message, $signup ) X-Ref |
Filter the "Last Sent" column message on the pending users table. param: string $message "Not yet sent" message. param: object|null $signup Signup object instance. since: 10.0.0 return: string "Not yet approved" message, if needed. Unchanged message otherwise. |
bp_members_membership_requests_add_link_to_widget_login_form() X-Ref |
Add "Request Membership" link to Widget login form. since: 10.0.0 return: string $retval the HTML for the request membership link. |
bp_members_membership_requests_filter_sidebar_register_link( $link ) X-Ref |
Filter the "Register" link from `wp_register()` as used in `sidebar.php` and the WP Core meta widget. param: string $link The HTML code for the link to the Registration or Admin page. since: 10.0.0 return: string An empty string or the HTML code for the link to the Membership request page. |
bp_members_membership_requests_add_toolbar_link( $wp_admin_bar ) X-Ref |
Add a "Request Membership" link to the WP Toolbar. Priority 21 should place it just after the "Log In" link. param: WP_Admin_Bar $wp_admin_bar WP_Admin_Bar instance, passed by reference since: 10.0.0 |
bp_members_membership_requests_add_link_wp_login( $link ) X-Ref |
Add a "Request Membership" link to the WP Login form. param: string $link HTML link to the home URL of the current site. since: 10.0.0 return: string HTML link to the home URL of the current site and the one to request a membership. |
Generated: Sun Dec 22 01:00:54 2024 | Cross-referenced by PHPXref 0.7.1 |