Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Remove oEmbed from activity


  • dswright
    Participant

    @dswd

    Hi,

    I have been scouring the internet to find a way to disable oEmbed from the activity stream.
    I have found a couple solutions and they have not worked.

    Please help.

    WP: 3.5.1
    BP: 1.7

Viewing 3 replies - 1 through 3 (of 3 total)

  • dswright
    Participant

    @dswd

    I have tried this and it did not work

    
    /** 
    . * Disabled oEmbed from WordPress 3.5 
    */ 
    remove_filter (  'the_content' ,  array (  $GLOBALS [ 'wp_embed' ],  'autoembed'  ),  8  );
    

    @mercime
    Keymaster

    @mercime


    modemlooper
    Moderator

    @modemlooper

    Try these:

    remove_filter( 'bp_get_activity_content_body', 'autoembed', 8 );
    remove_filter( ‘bp_get_activity_content’, ‘autoembed’, 8 );

    In the future, please refrain from replying to a 3 year old topic. Create a new one. 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Remove oEmbed from activity’ is closed to new replies.
Skip to toolbar