Iframe Fields Profile

Home Forums Legacy Support Support queries Setup issues Iframe Fields Profile

Tagged: , ,

Viewing 5 posts - 16 through 20 (of 20 total)
  • Author
    Posts
  • #312079
    Rafael
    Participant
    field_255
    #312351
    Anshuman Sahu
    Keymaster
    please try adding this given code in your wplms-customizer.php file in wplms customizer plugin :
    add_filter('vibebp_profile_field_block_value',function($value,$field){
    
        if(strpos($value, 'https')!==false && $field['id']==255){
            global $wp_embed;
    
            $value = $wp_embed->run_shortcode('[embed]'.$value.'[/embed]');
             
        }
    
        return $value;
    },10,2);
    #313376
    Rafael
    Participant
    This reply has been marked as private.
    #313732
    Anshuman Sahu
    Keymaster
    remove previous use this one :
    
    
    add_filter('vibebp_profile_field_block_value',function($value,$field){
    
        if(strpos($value, 'https')!==false && $field->id==255){
            global $wp_embed;
    
            $value = $wp_embed->run_shortcode('[embed]'.$value.'[/embed]');
             
        }
    
        return $value;
    },10,2);
    
    #314662
    Rafael
    Participant
    Solved! Thank you Alex!
Viewing 5 posts - 16 through 20 (of 20 total)
  • The topic ‘Iframe Fields Profile’ is closed to new replies.