@operapreneur
Active 6 years, 11 months ago
-
danbpfr replied to the topic [Resolved] Trying to use bp_profile_field_data() and oEmbed in the forum How-to & Troubleshooting 11 years, 8 months ago
hi @operapreneur,
try this, to put into /plugins/bp-custom.php
function bpfr_enable_video_on_profile( $val, $type, $key ) {
$field = new BP_XProfile_Field( $key );
$field_name = $field->name;if( strtolower( $field_name ) == 'video' ) { // video is the field name on the profile (case sensitive)
$val = strip_tags( $val );return…[Read more]