API Shortcode WordPress

function demo_func( $atts ){
	return "foo and bar";
}
add_shortcode( 'demo', 'demo_func' );
Clear Chinchilla