Kit (formerly ConvertKit) 3.5.2 has 30 actions and 66 filters, read directly from its source code on Nov 17, 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 Kit (formerly ConvertKit) fires an action
add_action( 'convertkit_settings_base_render_after', function() {
// Your code runs here.
}, 10, 1 );
// Change a value Kit (formerly ConvertKit) is about to use
add_filter( 'convertkit_output_restrict_content_content_preview', function( $value, $ID ) {
// Change $value here.
return $value;
}, 10, 2 );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
-
/** * Performs actions after rendering of the settings form. */ do_action( 'convertkit_settings_base_render_after' ); -
/** * Performs actions prior to rendering the settings form. */ do_action( 'convertkit_settings_base_render_before' ); -
/** * Define the output for the content preview when the visitor is not an * authenticated subscriber. */ apply_filters( 'convertkit_output_restrict_content_content_preview', $this->get_content_preview( $content ), $post->ID ); -
/** * Filter the block's content immediately before it is output. */ apply_filters( 'convertkit_block_broadcasts_render', $html, $atts ); -
/** * Run this pre-publish action, as the WordPress Post has just transitioned to * publish from another state. */ do_action( "convertkit_pre_publish_action_run_{$this->get_name()}", $post ); -
convertkit_abilities
filter/** * Registers abilities for the Kit Plugin. */ apply_filters( 'convertkit_abilities', $abilities ); -
/** * Enqueue JavaScript when editing a Category that outputs ConvertKit Plugin * settings. */ do_action( 'convertkit_admin_category_enqueue_scripts' ); -
/** * Enqueue CSS when editing a Category that outputs ConvertKit Plugin settings. */ do_action( 'convertkit_admin_category_enqueue_styles' ); -
/** * Adds block categories to the default Gutenberg Block Categories */ apply_filters( 'convertkit_admin_gutenberg_add_block_categories', $categories, $post ); -
/** * Define the text to output in an admin error notice. */ apply_filters( "convertkit_admin_notices_output_{$notice}", $output ); -
/** * Enqueue JavaScript when editing a Page, Post or Custom Post Type that * outputs ConvertKit Plugin settings. */ do_action( 'convertkit_admin_post_enqueue_scripts' ); -
/** * Enqueue CSS for the Settings Screen at Settings > Kit */ do_action( 'convertkit_admin_post_enqueue_styles' ); -
/** * Registers 'Add New' buttons for the given Post Type's admin screen. */ apply_filters( 'convertkit_admin_post_register_add_new_buttons', $buttons, $post_type ); -
/** * Enqueue JavaScript for the Settings Screen at Settings > Kit */ do_action( 'convertkit_admin_settings_enqueue_scripts', $section ); -
/** * Enqueue CSS for the Settings Screen at Settings > Kit */ do_action( 'convertkit_admin_settings_enqueue_styles', $section ); -
/** * Defines the settings form's action URL. */ apply_filters( 'convertkit_admin_settings_form_action_url', admin_url( 'options.php' ), $active_section ); -
/** * Defines the settings form's method. */ apply_filters( 'convertkit_admin_settings_form_method', 'post', $active_section ); -
/** * Registers settings sections at Settings > Kit. */ apply_filters( 'convertkit_admin_settings_register_sections', $sections ); -
/** * Load any data into class variables for the given setup wizard name and * current step. */ do_action( "convertkit_admin_setup_wizard_load_screen_data_{$this->page_name}", $this->step ); -
/** * Process submitted form data for the given setup wizard name and current * step. */ do_action( "convertkit_admin_setup_wizard_process_form_{$this->page_name}", $this->step ); -
/** * Define the steps for the setup wizard. */ apply_filters( "convertkit_admin_setup_wizard_steps_{$this->page_name}", $this->steps ); -
/** * Defines the HTML for an individual broadcast item in the Broadcasts block. */ apply_filters( 'convertkit_block_broadcasts_build_html_list_item', $html, $broadcast, $atts ); -
/** * Filter the block's inner content immediately before it is output by AJAX, * which occurs when pagination was clicked. */ apply_filters( 'convertkit_block_broadcasts_render_ajax', $html, $atts ); -
/** * Filters the content in the ConvertKit Custom Content block/shortcode * immediately before it is output. */ apply_filters( 'convertkit_block_content_render', $content, $atts, $subscriber_id, $tags, $tag ); -
/** * Filter the block's content immediately before it is output. */ apply_filters( 'convertkit_block_form_builder_field_render', $html, $atts ); -
/** * Filter the block's content immediately before it is output. */ apply_filters( 'convertkit_block_form_builder_render', $html, $atts ); -
convertkit_block_form_render
filter/** * Filter the block's content immediately before it is output. */ apply_filters( 'convertkit_block_form_render', $form, $atts, $form_id ); -
/** * Filter the block's content immediately before it is output. */ apply_filters( 'convertkit_block_form_trigger_render', $html, $atts ); -
/** * Filter the block's content immediately before it is output. */ apply_filters( 'convertkit_block_member_content_login_render', $html, $atts ); -
/** * Filter the block's content immediately before it is output. */ apply_filters( 'convertkit_block_product_render', $html, $atts ); -
convertkit_blocks
filter/** * Registers blocks for the ConvertKit Plugin. */ apply_filters( 'convertkit_blocks', $blocks ); -
/** * Define the wp_insert_post() compatible arguments for importing a ConvertKit * Broadcast to a new WordPress Post. */ apply_filters( 'convertkit_broadcasts_build_post_args', $post_args, $broadcast ); -
/** * Define the preview text for the Broadcast created from the WordPress Post. */ apply_filters( 'convertkit_broadcasts_exporter_preview_text', $preview_text, $post ); -
/** * Define the text for the link to read the Post on the web, in Broadcasts * created from WordPress Posts. */ apply_filters( 'convertkit_broadcasts_exporter_web_link_text', __( 'Read this on the web', 'convertkit' ), $post ); -
/** * Parses the given Broadcast's content, removing unnecessary HTML tags and * styles. */ apply_filters( 'convertkit_broadcasts_parse_broadcast_content', $content, $post_id, $broadcast_content, $broadcast_title, $import_images, $disable_styles ); -
/** * Define the HTML tags to retain in the Broadcast Content. */ apply_filters( 'convertkit_broadcasts_parse_broadcast_content_permitted_html_tags', $permitted_html_tags ); -
/** * The default settings, used when Contact Form 7's Settings haven't been saved * e.g. on a new installation or when the Contact Form 7 Plugin has just been * activated for the first time. */ apply_filters( 'convertkit_contactform7_settings_get_defaults', $defaults ); -
/** * Filters the detected page builder for a Post. */ apply_filters( 'convertkit_content_post_helper_detect_page_builder', false, $post_id ); -
/** * The default settings, used when Forminator's Settings haven't been saved * e.g. on a new installation or when the Forminator Plugin has just been * activated for the first time. */ apply_filters( 'convertkit_forminator_settings_get_defaults', $defaults ); -
/** * Filter the Post's Content, which includes a ConvertKit Form, immediately * before it is output. */ apply_filters( 'convertkit_frontend_append_form', $content, $form, $post_id, $form_id, $form_position ); -
/** * Registers block formatters in Gutenberg for the ConvertKit Plugin. */ apply_filters( 'convertkit_get_block_formatters', $block_formatters ); -
/** * Registers form importers for the ConvertKit Plugin. */ apply_filters( 'convertkit_get_form_importers', $importers ); -
/** * Registers pre-publish actions for the ConvertKit Plugin. */ apply_filters( 'convertkit_get_pre_publish_actions', $pre_publish_actions ); -
/** * Defines the Post Types that support ConvertKit Forms. */ apply_filters( 'convertkit_get_supported_post_types', $post_types ); -
/** * Determine the block API version to use for registering blocks. */ apply_filters( 'convertkit_gutenberg_block_api_version', $block_api_version ); -
/** * Enqueue any additional scripts for Gutenberg blocks that have been * registered. */ do_action( 'convertkit_gutenberg_enqueue_scripts', $blocks, $block_formatters ); -
/** * Enqueues scripts for Gutenberg blocks in both the editor and frontend view, * if the Plugin's Disable JavaScript option is not enabled. */ do_action( 'convertkit_gutenberg_enqueue_scripts_editor_and_frontend' ); -
/** * Enqueue styles for Gutenberg blocks that have been registered. */ do_action( 'convertkit_gutenberg_enqueue_styles' ); -
/** * Enqueues styles for Gutenberg blocks in both the editor and frontend view, * if the Plugin's Disable CSS option is not enabled. */ do_action( 'convertkit_gutenberg_enqueue_styles_editor_and_frontend' ); -
convertkit_initialize_admin
action/** * Initialize integration classes for the WordPress Administration interface. */ do_action( 'convertkit_initialize_admin' ); -
/** * Initialize integration classes for the WordPress Administration interface or * a frontend Page Builder. */ do_action( 'convertkit_initialize_admin_or_frontend_editor' ); -
/** * Initialize integration classes for WP-CLI and WP-Cron. */ do_action( 'convertkit_initialize_cli_cron' ); -
/** * Initialize integration classes for the frontend web site. */ do_action( 'convertkit_initialize_frontend' ); -
convertkit_initialize_global
action/** * Initialize integration classes for the frontend web site. */ do_action( 'convertkit_initialize_global' ); -
/** * Filters whether the current request is a WordPress Administration / Frontend * Editor request or not. */ apply_filters( 'convertkit_is_admin_or_frontend_editor', $is_admin_or_frontend_editor ); -
/** * Define the ConvertKit Form ID to display for the given Post ID, overriding * the Post, Category or Plugin settings. */ apply_filters( 'convertkit_output_append_form_to_content_form_id', $form_id, $post_id ); -
/** * Perform any actions immediately prior to outputting the Landing Page. */ do_action( 'convertkit_output_landing_page_before', $landing_page, $landing_page_id, $post_id ); -
/** * Outputs a ConvertKit Form on singular Post Types that don't use * the_content() or apply_filters( 'the_content' ). */ do_action( 'convertkit_output_output_form' ); -
/** * Define the ConvertKit Landing Page ID to display for the given Post ID, * overriding the Post settings. */ apply_filters( 'convertkit_output_page_takeover_landing_page_id', $landing_page_id, $post_id ); -
/** * Define the output for the call to action, displayed below the content * preview, when the visitor is not an authenticated subscriber. */ apply_filters( 'convertkit_output_restrict_content_call_to_action', $call_to_action, $this->post_id ); -
/** * Define the container CSS classes to wrap the content preview and call to * action within. */ apply_filters( 'convertkit_output_restrict_content_container_css_classes', $container_css_classes, $this->post_id ); -
/** * Define the ConvertKit Resource ID that the visitor must be subscribed * against to access this content, overriding the Post setting. */ apply_filters( 'convertkit_output_restrict_content_get_resource_id', $resource_id, $this->post_id ); -
/** * Define the ConvertKit Resource Type that the visitor must be subscribed * against to access this content, overriding the Post setting. */ apply_filters( 'convertkit_output_restrict_content_get_resource_type', $resource_type, $this->post_id ); -
/** * Define the permitted user agents and their IP address ranges that can bypass * Restrict Content to index content for search engines. */ apply_filters( 'convertkit_output_restrict_content_is_crawler_permitted_user_agent_ip_ranges', $permitted_user_agent_ip_ranges ); -
/** * Define links to display below the Plugin Name on the WP_List_Table at * Plugins > Installed Plugins. */ apply_filters( 'convertkit_plugin_screen_action_links', $links ); -
convertkit_plugin_sidebars
filter/** * Registers plugin sidebars for the WordPress block editor. */ apply_filters( 'convertkit_plugin_sidebars', $plugin_sidebars ); -
/** * The default settings, used to populate the Post's Settings when a Post has * no Settings. */ apply_filters( 'convertkit_post_get_default_settings', $defaults, $this->post_id ); -
convertkit_post_settings
filter/** * Programmatically define ConvertKit settings for an individual Post, * overriding those defined in the meta box. */ apply_filters( 'convertkit_post_settings', $meta, $this->post_id ); -
convertkit_prompts
filter/** * Registers MCP prompts for the Kit Plugin. */ apply_filters( 'convertkit_prompts', $prompts ); -
/** * Filter the form <script> key/value pairs immediately before the script is * output. */ apply_filters( 'convertkit_resource_forms_output_script', $script ); -
/** * Perform any actions immediately after the resource has been refreshed. */ do_action( "convertkit_resource_refreshed_{$this->type}", $results ); -
convertkit_resources
filter/** * Registers MCP resources for the Kit Plugin. */ apply_filters( 'convertkit_resources', $resources ); -
/** * Allow specific Themes and Page Builders to use a different filter for * Restrict Content functionality. */ do_action( 'convertkit_restrict_content_register_content_filter' ); -
/** * Register success and error notices for settings screens. */ apply_filters( 'convertkit_settings_base_register_notices', $notices ); -
/** * Performs actions prior to settings being saved. */ do_action( 'convertkit_settings_base_sanitize_settings', $this->name, $updated_settings ); -
/** * The default settings, used when the ConvertKit Broadcasts Settings haven't * been saved e.g. on a new installation. */ apply_filters( 'convertkit_settings_broadcasts_get_defaults', $defaults ); -
/** * The default settings, used when the ConvertKit Plugin Settings haven't been * saved e.g. on a new installation. */ apply_filters( 'convertkit_settings_get_defaults', $defaults ); -
/** * The default settings, used when the ConvertKit MCP Settings haven't been * saved e.g. on a new installation. */ apply_filters( 'convertkit_settings_mcp_get_defaults', $defaults ); -
/** * The default settings, used when the ConvertKit Restrict Content Settings * haven't been saved e.g. on a new installation. */ apply_filters( 'convertkit_settings_restrict_content_get_defaults', $defaults ); -
convertkit_shortcodes
filter/** * Registers shortcodes for the ConvertKit Plugin. */ apply_filters( 'convertkit_shortcodes', $shortcodes ); -
/** * Whether to use a numeric subscriber ID that couldn't be verified, either * from a request without a matching `sh_kit` parameter, or from a cookie * without a valid signature. */ apply_filters( 'convertkit_subscriber_allow_unverified_id', false, $subscriber_id ); -
/** * The default settings, used to populate the Term's Settings when a Term has * no Settings. */ apply_filters( 'convertkit_term_get_default_settings', $defaults ); -
/** * The default settings, used to populate the User's Settings when a User has * no Settings. */ apply_filters( 'convertkit_user_get_default_settings', $defaults ); -
/** * The default settings, used when WishList's Settings haven't been saved e.g. * on a new installation or when the WishList Plugin has just been activated * for the first time. */ apply_filters( 'convertkit_wishlist_settings_get_defaults', $defaults ); -
wp_convertkit_get_form_embed
filter/** * Backward compat. filter for < 1.9.6. Filter the block's content immediately * before it is output. */ apply_filters( 'wp_convertkit_get_form_embed', $form, $atts ); -
/** * Backward compat. filter for < 1.9.6. Filters the content in the ConvertKit * Custom Content block/shortcode immediately before it is output. */ apply_filters( 'wp_convertkit_shortcode_custom_content', $content, $atts ); -
the_content
filterapply_filters( 'the_content', $post->post_content ); -
excerpt_length
filterapply_filters( 'excerpt_length', 55 ); -
admin_enqueue_scripts
actiondo_action( 'admin_enqueue_scripts' ); -
admin_head
actiondo_action( 'admin_head' ); -
admin_print_scripts
actiondo_action( 'admin_print_scripts' ); -
admin_print_styles
actiondo_action( 'admin_print_styles' ); -
excerpt_more
filterapply_filters( 'excerpt_more', ' […]' );
Generated from Kit (formerly ConvertKit)'s GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Can't find the right hook?
We can build the customisation for you. Describe what you need: