BP_Xprofile_Profile_Completion_Widget::__construct()
Constructor.
Description
Source
File: bp-xprofile/classes/class-bp-xprofile-profile-completion-widget.php
function __construct() {
// Set up optional widget args.
$widget_ops = array(
'classname' => 'widget_bp_profile_completion_widget widget buddypress',
'description' => __( 'Show Logged in user Profile Completion Progress.', 'buddyboss' ),
);
// Set up the widget.
parent::__construct(
false,
__( '(BB) Profile Completion', 'buddyboss' ),
$widget_ops
);
// Delete Transient hooks.
$this->delete_transient_hooks();
}
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.