bp_use_embed_in_private_messages

  • apply_filters( 'bp_use_embed_in_private_messages', !defined( 'BP_EMBED_DISABLE_PRIVATE_MESSAGES' ) || !BP_EMBED_DISABLE_PRIVATE_MESSAGES )

    Source Reference:

    • Component: BuddyPress :: bp-core
      File: /bp-core/bp-core-functions.php :: Trac Source Line: 1341
      }
      
      /**
       * Are oembeds allowed in private messages?
       *
       * @return bool False when form post embed support is disabled; true when enabled (default)
       * @since 1.5
       */
      function bp_use_embed_in_private_messages() {
      	return apply_filters( 'bp_use_embed_in_private_messages', !defined( 'BP_EMBED_DISABLE_PRIVATE_MESSAGES' ) || !BP_EMBED_DISABLE_PRIVATE_MESSAGES );
      }
      
      /**
       * Output the correct URL based on BuddyPress and WordPress configuration
       *
       * @package BuddyPress
       * @since 1.5
       *
       * @param string $path
       * @param string $scheme
      

Comments are closed.