How to register shortcode in WordPress

Single shortcode function single_shortcode_name( $atts, $content = null ) { return ‘<div class=”singe_shortcode_wrapper”>’.do_shortcode($content).'</div>’; } add_shortcode(‘single_shortcode’,...