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 -

python - ValueError: No axis named 1 for object type <class 'pandas.core.series.Series'> -

java - How to provide dependency injections in Eclipse RCP 3.x? -