Creating an extension


TABLEON actively uses hooks what allows creating additional extensions such like:

Main hooks are:

  • tableon_extend_settings
  • tableon_extend_settings_default
  • tableon_include_assets - this hook includes the extension assets trough functions wp_enqueue_script and wp_enqueue_style
  • each extension should has its unique 'action' to add its columns into the system
  • tables are generated through function 'tableon()->draw_table_data($table_data, $table_html_id)'
  • For JavaScript functionality uses events system
  • JS event 'tableon-do-after-draw' allows to add active functionality after the posts table redrawing

Use extensions above as an examples for creating your own ones. If you have questions write request to support please.