Shortcode Wrapper.
public static shortcode_wrapper ( string[] $function, array $atts = [], $wrapper = ['class' => 'woocommerce', 'before' => null, 'after' => null] ) : string | ||
$function | string[] | |
$atts | array | (default: array()) |
return | string |