static public function shortcode_wrapper ($function, $atts=array()) {
		if( $content = jigoshop::cache_get( $function . '-shortcode', $atts ) ) return $content;
		
		ob_start();
		call_user_func($function, $atts);
		return jigoshop::cache( $function . '-shortcode', ob_get_clean(), $atts);
	}