
I usually like these to either be alphabetical or -if applicable- in logical groups. For this one, I suggest we go for logical groups:
Delete content
Publish contnet
Unpublish content
Make content sticky
Make content unsticky
Promote content to front page
Remove content from front page
"Delete content" does not have a "Undelete content", so it's the only "single" option in the list. As for the rest of the pairs, I chose to have the longest ones as you move down the list and to also place the "do something" ones before the "undo something" ones, but we can reverse the order if that's more preferable.
Recent comments
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
No problem, let's see how it evolves. I'd be happy to provide a suggested version if i could. I will keep that in mind and try learn this hook chain hopefully very soon. I will...
File hashing uploads made through TinyMCE