SHARE
TWEET

Untitled

a guest Mar 31st, 2011 27 Never
  1. function codefunc( $atts, $content ) {
  2. extract( shortcode_atts( array(
  3.     'c' => ''
  4. ), $atts ) );
  5.  
  6. return "<code>".htmlentities($content)."</code>";
  7. }
  8. add_shortcode( 'code', 'codefunc' );
RAW Paste Data
Top