bp_use_embed_in_activity_replies

  • apply_filters( 'bp_use_embed_in_activity_replies', !defined( 'BP_EMBED_DISABLE_ACTIVITY_REPLIES' ) || !BP_EMBED_DISABLE_ACTIVITY_REPLIES )

    Source Reference:

    • Component: BuddyPress :: bp-core
      File: /bp-core/bp-core-functions.php :: Trac Source Line: 1321
      }
      
      /**
       * Are oembeds allwoed in activity replies?
       *
       * @return bool False when activity replies embed support is disabled; true when enabled (default)
       * @since 1.5
       */
      function bp_use_embed_in_activity_replies() {
      	return apply_filters( 'bp_use_embed_in_activity_replies', !defined( 'BP_EMBED_DISABLE_ACTIVITY_REPLIES' ) || !BP_EMBED_DISABLE_ACTIVITY_REPLIES );
      }
      
      /**
       * Are oembeds allowed in forum posts?
       *
       * @return bool False when form post embed support is disabled; true when enabled (default)
       * @since 1.5
       */
      function bp_use_embed_in_forum_posts() {
      	return apply_filters( 'bp_use_embed_in_forum_posts', !defined( 'BP_EMBED_DISABLE_FORUM_POSTS' ) || !BP_EMBED_DISABLE_FORUM_POSTS );
      

Comments are closed.