This function has been deprecated. BuddyBoss 1.0.0 instead.
bp_nouveau_member_description( int $user_id )
Display the Member description making sure linefeeds are taking in account
Description
Parameters
- $user_id
-
(Optional)
Return
(string) HTML output.
Source
File: bp-core/deprecated/buddyboss/1.0.php
function bp_nouveau_member_description( $user_id = 0 ) { _deprecated_function( __FUNCTION__, '1.0.0' ); // if ( ! $user_id ) { // $user_id = bp_loggedin_user_id(); // if ( bp_displayed_user_id() ) { // $user_id = bp_displayed_user_id(); // } // } // // @todo This hack is too brittle. // add_filter( 'the_author_description', 'make_clickable', 9 ); // add_filter( 'the_author_description', 'wpautop' ); // add_filter( 'the_author_description', 'wptexturize' ); // add_filter( 'the_author_description', 'convert_smilies' ); // add_filter( 'the_author_description', 'convert_chars' ); // add_filter( 'the_author_description', 'stripslashes' ); // the_author_meta( 'description', $user_id ); // remove_filter( 'the_author_description', 'make_clickable', 9 ); // remove_filter( 'the_author_description', 'wpautop' ); // remove_filter( 'the_author_description', 'wptexturize' ); // remove_filter( 'the_author_description', 'convert_smilies' ); // remove_filter( 'the_author_description', 'convert_chars' ); // remove_filter( 'the_author_description', 'stripslashes' ); }
Changelog
Version | Description |
---|---|
BuddyBoss 1.0.0 | BuddyBoss 1.0.0 |
BuddyPress 3.0.0 | 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.