wordpress - How can I allow link tags and attributes with wp_kses? -


i'm trying output link on website, wp_kses not allowing it. doing wrong in $allowed_html array?

$allowed_html   =   array( 'a' => array(     'href' => true,     'title' => true, ), 'abbr' => array(     'title' => true, ), 'acronym' => array(     'title' => true, ), 'b' => array(), 'blockquote' => array(     'cite' => true, ), 'cite' => array(), 'code' => array(), 'del' => array(     'datetime' => true, ), 'em' => array(), 'i' => array(), 'q' => array(     'cite' => true, ), 'strike' => array(), 'strong' => array(), ); 

how allow link?


Comments

Popular posts from this blog

'hasOwnProperty' in javascript -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -

How to understand 2 main() functions after using uftrace to profile the C++ program? -