How to programmatically access the allowed HTML tags in Filtered HTML
$filters = filter_list_format('filtered_html'); // put your filter name here
$tags = isset($filters['filter_html']) ? $filters['filter_html']-&gt;settings['allowed_html'] : FALSE;