Created
May 28, 2023 23:26
-
-
Save KaineLabs/590c2d6b30c70151483b96dc5495ba25 to your computer and use it in GitHub Desktop.
Youzify - Add Profile Widget in Custom Info
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Youzify - Add Profile Widget in Custom Info. | |
* */ | |
add_action('bp_after_profile_loop_content', 'yzc_add_widget_in_custom_info'); | |
function yzc_add_widget_in_custom_info() { | |
$widget = new Youzify_Widgets(); | |
$widgets_list = array( 'skills' => 'visible' ); | |
$widget->get_widget_content( $widgets_list ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment