Yes. It is possible to add your own custom functionality and use it as shortcode.
Example: (add next code to file functions.php)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | add_shortcode('tableon_my_custom_button', function() { tableon()->include_assets(); return TABLEON_HELPER::draw_html_item('a', array( 'href' => 'javascript: tableon_helper.call_popup("call_action_custom1",{a:1,b:2,c:"hello",not_paste:1},"asd","Hello World 2020!!"); void(0);', 'title' => '', 'class' => 'tableon-btn' ), 'click on this button'); }); add_action('call_action_custom1', function($args, $call_id) { print_r($args); return "It is custom action in functions.php"; }, 10, 2); |
Results: button, on click shows popup with data