Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Signup Endpoints #231

Merged
merged 7 commits into from
Oct 7, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions bp-rest.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,12 @@ function bp_rest() {
require_once dirname( __FILE__ ) . '/includes/bp-attachments/classes/class-bp-rest-attachments-member-avatar-endpoint.php';
$controller = new BP_REST_Attachments_Member_Avatar_Endpoint();
$controller->register_routes();

if ( bp_get_signup_allowed() ) {
require_once dirname( __FILE__ ) . '/includes/bp-signup/classes/class-bp-rest-signup-endpoint.php';
$controller = new BP_REST_Signup_Endpoint();
$controller->register_routes();
}
}

if ( bp_is_active( 'activity' ) ) {
Expand Down
Loading