I'm splitting this request from #6190, since it seems easier to implement and more straight-forward.
I would like us to introduce # as a new type of placeholder for the format_string() function, which would cause the replaced text to be wrapped in HTML tags that allow it to be shown as a code snippet. It should basically be mimicking the current % placeholder, but use a different HTML tag (</code> instead of <em>).
Recent comments
In a blog post titled "Github Tips and Tricks for Contrib Maintainers", I'd like to see some of the following topics: When is the README sufficient for documentation? When should...
Github Tips and Tricks for Contrib Maintainers
Thanks Alejandro. That was the clues I needed.
Ubercart - Programmatically add product to cart and straight to Checkout
Have you tried uc_cart_add_item()? You need to provide the nid of the product. Then you can use backdrop_goto('cart/checkout'); to send the user to the checkout screen. uc_cart_add_item...
Ubercart - Programmatically add product to cart and straight to Checkout