Shortcode_Controller::build_shortcode_string( $args )
Summary
No summary available.Source
File: src/BigCommerce/Rest/Shortcode_Controller.php
public function build_shortcode_string( $args ) { $attributes = ''; foreach ( $args as $key => $value ) { $attributes .= sprintf( ' %s="%s"', $key, esc_attr( $value ) ); } return sprintf( '[%s%s]', Shortcodes\Products::NAME, $attributes ); }