. */ if ( ! defined( 'TCP_WIDGETS_FOLDER' ) ) return; require_once( TCP_WIDGETS_FOLDER . 'TCPParentWidget.class.php' ); class BREBPLogin extends TCPParentWidget { function BREBPLogin() { parent::__construct( 'bre_bp_login', __( 'Allow to create a buddyPress login', 'bre' ), 'TCP BP Login' ); } function widget( $args, $instance ) { if ( ! parent::widget( $args, $instance ) ) return; extract( $args ); echo $before_widget; $title = apply_filters( 'widget_title', isset( $instance['title'] ) ? $instance['title'] : false ); if ( $title ) echo $before_title, $title, $after_title; ?>
Create account to join community', 'buddypress' ), bp_get_signup_page() ); ?>