bp_core_add_support_for_google_captcha_pro( $section_notice, $section_slug )
Include plugin when plugin is activated
Description
Support Google Captcha Pro
Source
File: bp-core/compatibility/bp-incompatible-plugins-helper.php
function bp_core_add_support_for_google_captcha_pro( $section_notice, $section_slug ) { // check for BuddyPress plugin if ( 'buddypress' === $section_slug ) { $section_notice = ''; } // check for bbPress plugin if ( 'bbpress' === $section_slug ) { $section_notice = ''; if ( empty( bp_is_active( 'forums' ) ) ) { $section_notice = sprintf( '<a href="%s">%s</a>', bp_get_admin_url( add_query_arg( array( 'page' => 'bp-components' ), 'admin.php' ) ), __( 'Activate Forum Discussions Component', 'buddyboss' ) ); } } return $section_notice; }
Changelog
Version | Description |
---|---|
BuddyBoss 1.1.9 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.