bp_get_allowedtags()
Get BuddyPress content allowed tags.
Description Description
Return Return
(array) BuddyPress content allowed tags.
Source Source
File: bp-core/bp-core-functions.php
function bp_get_allowedtags() { global $allowedtags; return array_merge_recursive( $allowedtags, array( 'a' => array( 'aria-label' => array(), 'class' => array(), 'data-bp-tooltip' => array(), 'id' => array(), 'rel' => array(), ), 'img' => array( 'src' => array(), 'alt' => array(), 'width' => array(), 'height' => array(), 'class' => array(), 'id' => array(), ), 'span'=> array( 'class' => array(), 'data-livestamp' => array(), ), 'ul' => array(), 'ol' => array(), 'li' => array(), ) ); }
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |