do_action("moolamojo_transaction", true, 100, "clicked widget", $user_id, "widgets_table", $widget_id);
Explanation of the parameters:
do_action("moolamojo_transaction", false, 50, "downloaded widget", $user_id, "widgets_table", $widget_id);
Explanation of the parameters:
$balance = get_user_meta($user_id, 'moolamojo_balance', true);
add_action('moolamojo-submitted', 'my_custom_action');
function my_custom_action($atts) {
// do something here
}
The plugin will sent back to your action all the attributes passed to the shortcode so you can use any custom attributes.