bp_activity_allowed_tags

  • apply_filters( 'bp_activity_allowed_tags', $activity_allowedtags )

    Source Reference:

    • Component: BuddyPress :: bp-activity
      File: /bp-activity/bp-activity-filters.php :: Trac Source Line: 125
      	$activity_allowedtags['img']['alt']    = array();
      	$activity_allowedtags['img']['class']  = array();
      	$activity_allowedtags['img']['width']  = array();
      	$activity_allowedtags['img']['height'] = array();
      	$activity_allowedtags['img']['class']  = array();
      	$activity_allowedtags['img']['id']     = array();
      	$activity_allowedtags['img']['title']  = array();
      	$activity_allowedtags['code']          = array();
      
      	$activity_allowedtags = apply_filters( 'bp_activity_allowed_tags', $activity_allowedtags );
      	return wp_kses( $content, $activity_allowedtags );
      }
      
      /**
       * Finds and links @-mentioned users in the contents of activity items
       *
       * @since 1.2.0
       *
       * @param string $content The activity content
       * @param int $activity_id The activity id
      

Comments are closed.