TableKit 2.4.2 has 2 actions and 18 filters, read directly from its source code on Nov 18, 2026. The list updates automatically when a new version is released.
How to use these hooks
Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.
// Run your own code when TableKit fires an action
add_action( 'tablebuilder/before_init', function() {
// Your code runs here.
}, 10, 1 );
// Change a value TableKit is about to use
add_filter( 'tablekit/block_names', function( $value ) {
// Change $value here.
return $value;
}, 10, 1 );Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.
All hooks
-
/** * Filters the block names treated as "table blocks" by the [tableKit] * shortcode, letting the Pro add-on (or third parties) register additional * table block types. */ apply_filters( 'tablekit/block_names', array( 'tablebuilder/table-builder' ) ); -
/** * Filters the allowed JSON Schema/Lottie attribute keys used when sanitizing * block output. */ apply_filters( 'table_builder_allowed_json_attrs_tags', $allowed_json_tags ); -
/** * Filters the allowed SVG tags and attributes used when sanitizing block * output. */ apply_filters( 'table_builder_allowed_svg_attrs_tags', $allowed_svg_tags ); -
/** * Filters the WP_HTML_Tag_Processor instance for a table block's saved element * markup, letting callbacks make further attribute/class changes before it's * serialized. */ apply_filters( 'tablebuilder_save_element_markup', $block_processor, $parsed_block, $instance ); -
/** * Fires right before TableKit's core classes are instantiated, on * "plugins_loaded". */ do_action( 'tablebuilder/before_init' ); -
/** * Filters the list of block definitions TableKit registers. */ apply_filters( 'tablebuilder/blocks/list', array( 'table-builder' => array( 'slug' => 'table-builder', 'title' => 'Table Builder', 'package' => 'free', 'category' => 'general', 'status' => 'active', 'badge' => array( 'freemium', 'new', 'beta' ), ), 'table-builder-row' => array( 'slug' => 'table-builder-row', 'title' => 'Table Row', 'package' => 'free', 'category' => 'general', 'parent' => 'table-builder', 'status' => 'active', ), 'table... ); -
/** * Filters a dynamic block's wrapper attributes before they're rendered. */ apply_filters( 'tablebuilder/dynamic_block_wrapper_attributes', array_merge( $required_attrs, $extra_attrs ), $block ); -
/** * Filters markup appended to a table block's saved element, after rendering. */ apply_filters( 'tablebuilder/save_element_markup_after', '', $parsed_block ); -
/** * Filters markup prepended to a table block's saved element, before rendering. */ apply_filters( 'tablebuilder/save_element_markup_before', '', $parsed_block ); -
/** * Filters the user type sent with the deactivation feedback. */ apply_filters( 'tablekit_deactivation_feedback_user_type', 'free' ); -
/** * Frontend backward-compat: some (child) themes never enqueue their own * style.css and may have relied on TableKit loading it. It is enqueued here * (same position as before) and dequeued again in * maybe_dequeue_theme_stylesheet_fallback() when the theme loads it itself, so * it is never printed twice. */ apply_filters( 'tablekit_load_theme_stylesheet_fallback', true ); -
/** * Filters the post types scanned for inline table blocks. */ apply_filters( 'tablekit_scannable_post_types', array_values( $post_types ) ); -
/** * Filters the rendered output for a single [tableKit] block, letting the Pro * add-on (or third parties) render block types this plugin doesn't know about. */ apply_filters( 'tablekit/render_block', null, $block, $atts, $ids, $content ); -
/** * Lets an add-on print its own output for this shortcode before any asset or * block work. Return null to keep the default rendering. */ apply_filters( 'tablekit/shortcode_pre_render', null, is_array( $raw_atts ) ? $raw_atts : array(), $content ); -
/** * Filters the table HTML rendered by the [tableKit] shortcode. */ apply_filters( 'tablekit/table_html', $html, $attrs ); -
apply_filters( 'active_plugins', get_option( 'active_plugins' ) ); -
do_action( 'edit_with_emailkit_loaded' ); -
apply_filters( 'the_content', $post->post_content ); -
apply_filters( 'wpmet/stories/plugin_links', [] );
Generated from TableKit's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Done for you
Rather have it built for you?
Tell us what should change and we’ll write and test the code using these hooks.
Custom hook snippet
from $49
A small, update-safe change built on the plugin’s own hooks.
- Code written against the plugin’s actions and filters
- Tested on a staging copy of your site
- Install instructions included
Typical turnaround: 2–3 business days
Choose thisPlugin customisation
from $149
New features or changed behaviour, without editing the plugin’s files.
- Built as a companion plugin, so updates never wipe it
- Exact quote before we start
- Tested on staging, then deployed
Typical turnaround: 3–7 business days
Choose thisNot sure which fits? Describe what you need and we’ll suggest the simplest option.
Can't find the right hook?
We can build the customisation for you. Describe what you need: