Skip to content
Merged

3.1.7 #1008

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
97 changes: 64 additions & 33 deletions ACTIONS-FILTERS.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@
<td>&nbsp;</td>
<td><a href="#convertkit_get_pre_publish_actions"><code>convertkit_get_pre_publish_actions</code></a></td>
<td>Registers pre-publish actions for the ConvertKit Plugin.</td>
</tr><tr>
<td>&nbsp;</td>
<td><a href="#convertkit_get_form_importers"><code>convertkit_get_form_importers</code></a></td>
<td>Registers form importers for the ConvertKit Plugin.</td>
</tr><tr>
<td colspan="3">includes/blocks/class-convertkit-block-content.php</td>
</tr><tr>
Expand Down Expand Up @@ -563,6 +567,33 @@ add_filter( 'convertkit_get_pre_publish_actions', function( $pre_publish_actions
return $pre_publish_actions;
}, 10, 1 );
</pre>
<h3 id="convertkit_get_form_importers">
convertkit_get_form_importers
<code>includes/functions.php::279</code>
</h3><h4>Overview</h4>
<p>Registers form importers for the ConvertKit Plugin.</p><h4>Parameters</h4>
<table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody><tr>
<td>$importers</td>
<td>array</td>
<td>Importers.</td>
</tr>
</tbody>
</table><h4>Usage</h4>
<pre>
add_filter( 'convertkit_get_form_importers', function( $importers ) {
// ... your code here
// Return value
return $importers;
}, 10, 1 );
</pre>
<h3 id="convertkit_block_content_render">
convertkit_block_content_render
<code>includes/blocks/class-convertkit-block-content.php::295</code>
Expand Down Expand Up @@ -1061,7 +1092,7 @@ add_filter( 'convertkit_user_get_default_settings', function( $defaults ) {
</pre>
<h3 id="convertkit_admin_gutenberg_add_block_categories">
convertkit_admin_gutenberg_add_block_categories
<code>includes/class-convertkit-gutenberg.php::122</code>
<code>includes/class-convertkit-gutenberg.php::123</code>
</h3><h4>Overview</h4>
<p>Adds block categories to the default Gutenberg Block Categories</p><h4>Parameters</h4>
<table>
Expand Down Expand Up @@ -1173,7 +1204,7 @@ add_filter( 'convertkit_wishlist_settings_get_defaults', function( $defaults ) {
</pre>
<h3 id="convertkit_output_restrict_content_get_resource_type">
convertkit_output_restrict_content_get_resource_type
<code>includes/class-convertkit-output-restrict-content.php::882</code>
<code>includes/class-convertkit-output-restrict-content.php::966</code>
</h3><h4>Overview</h4>
<p>Define the ConvertKit Resource Type that the visitor must be subscribed against to access this content, overriding the Post setting. Return false or an empty string to not restrict content.</p><h4>Parameters</h4>
<table>
Expand Down Expand Up @@ -1204,7 +1235,7 @@ add_filter( 'convertkit_output_restrict_content_get_resource_type', function( $r
</pre>
<h3 id="convertkit_output_restrict_content_get_resource_id">
convertkit_output_restrict_content_get_resource_id
<code>includes/class-convertkit-output-restrict-content.php::920</code>
<code>includes/class-convertkit-output-restrict-content.php::1004</code>
</h3><h4>Overview</h4>
<p>Define the ConvertKit Resource ID that the visitor must be subscribed against to access this content, overriding the Post setting. Return 0 to not restrict content.</p><h4>Parameters</h4>
<table>
Expand Down Expand Up @@ -1235,7 +1266,7 @@ add_filter( 'convertkit_output_restrict_content_get_resource_id', function( $res
</pre>
<h3 id="convertkit_output_restrict_content_content_preview">
convertkit_output_restrict_content_content_preview
<code>includes/class-convertkit-output-restrict-content.php::1212</code>
<code>includes/class-convertkit-output-restrict-content.php::1296</code>
</h3><h4>Overview</h4>
<p>Define the output for the content preview when the visitor is not an authenticated subscriber.</p><h4>Parameters</h4>
<table>
Expand Down Expand Up @@ -1266,7 +1297,7 @@ add_filter( 'convertkit_output_restrict_content_content_preview', function( $con
</pre>
<h3 id="convertkit_output_restrict_content_call_to_action">
convertkit_output_restrict_content_call_to_action
<code>includes/class-convertkit-output-restrict-content.php::1226</code>
<code>includes/class-convertkit-output-restrict-content.php::1310</code>
</h3><h4>Overview</h4>
<p>Define the output for the call to action, displayed below the content preview, when the visitor is not an authenticated subscriber.</p><h4>Parameters</h4>
<table>
Expand Down Expand Up @@ -1297,7 +1328,7 @@ add_filter( 'convertkit_output_restrict_content_call_to_action', function( $call
</pre>
<h3 id="convertkit_output_restrict_content_container_css_classes">
convertkit_output_restrict_content_container_css_classes
<code>includes/class-convertkit-output-restrict-content.php::1239</code>
<code>includes/class-convertkit-output-restrict-content.php::1323</code>
</h3><h4>Overview</h4>
<p>Define the container CSS classes to wrap the content preview and call to action within.</p><h4>Parameters</h4>
<table>
Expand Down Expand Up @@ -1328,7 +1359,7 @@ add_filter( 'convertkit_output_restrict_content_container_css_classes', function
</pre>
<h3 id="convertkit_output_restrict_content_is_crawler_permitted_user_agent_ip_ranges">
convertkit_output_restrict_content_is_crawler_permitted_user_agent_ip_ranges
<code>includes/class-convertkit-output-restrict-content.php::1966</code>
<code>includes/class-convertkit-output-restrict-content.php::2050</code>
</h3><h4>Overview</h4>
<p>Define the permitted user agents and their IP address ranges that can bypass Restrict Content to index content for search engines.</p><h4>Parameters</h4>
<table>
Expand All @@ -1355,7 +1386,7 @@ add_filter( 'convertkit_output_restrict_content_is_crawler_permitted_user_agent_
</pre>
<h3 id="convertkit_output_page_takeover_landing_page_id">
convertkit_output_page_takeover_landing_page_id
<code>includes/class-convertkit-output.php::220</code>
<code>includes/class-convertkit-output.php::277</code>
</h3><h4>Overview</h4>
<p>Define the ConvertKit Landing Page ID to display for the given Post ID, overriding the Post settings. Return false to not display any ConvertKit Landing Page.</p><h4>Parameters</h4>
<table>
Expand Down Expand Up @@ -1386,7 +1417,7 @@ add_filter( 'convertkit_output_page_takeover_landing_page_id', function( $landin
</pre>
<h3 id="convertkit_output_append_form_to_content_form_id">
convertkit_output_append_form_to_content_form_id
<code>includes/class-convertkit-output.php::300</code>
<code>includes/class-convertkit-output.php::357</code>
</h3><h4>Overview</h4>
<p>Define the ConvertKit Form ID to display for the given Post ID, overriding the Post, Category or Plugin settings. Return false to not display any ConvertKit Form.</p><h4>Parameters</h4>
<table>
Expand Down Expand Up @@ -1417,7 +1448,7 @@ add_filter( 'convertkit_output_append_form_to_content_form_id', function( $form_
</pre>
<h3 id="convertkit_frontend_append_form">
convertkit_frontend_append_form
<code>includes/class-convertkit-output.php::411</code>
<code>includes/class-convertkit-output.php::468</code>
</h3><h4>Overview</h4>
<p>Filter the Post's Content, which includes a ConvertKit Form, immediately before it is output.</p><h4>Parameters</h4>
<table>
Expand Down Expand Up @@ -1460,7 +1491,7 @@ add_filter( 'convertkit_frontend_append_form', function( $content, $form, $post_
</pre>
<h3 id="convertkit_output_scripts_footer">
convertkit_output_scripts_footer
<code>includes/class-convertkit-output.php::873</code>
<code>includes/class-convertkit-output.php::930</code>
</h3><h4>Overview</h4>
<p>Define an array of scripts to output in the footer of the WordPress site.</p><h4>Parameters</h4>
<table>
Expand All @@ -1487,7 +1518,7 @@ add_filter( 'convertkit_output_scripts_footer', function( $scripts ) {
</pre>
<h3 id="convertkit_output_script_footer">
convertkit_output_script_footer
<code>includes/class-convertkit-output.php::892</code>
<code>includes/class-convertkit-output.php::949</code>
</h3><h4>Overview</h4>
<p>Filter the form <script> key/value pairs immediately before the script is output.</p><h4>Parameters</h4>
<table>
Expand Down Expand Up @@ -1541,7 +1572,7 @@ add_filter( 'convertkit_settings_get_defaults', function( $defaults ) {
</pre>
<h3 id="convertkit_is_admin_or_frontend_editor">
convertkit_is_admin_or_frontend_editor
<code>includes/class-wp-convertkit.php::330</code>
<code>includes/class-wp-convertkit.php::335</code>
</h3><h4>Overview</h4>
<p>Filters whether the current request is a WordPress Administration / Frontend Editor request or not. Page Builders can set this to true to allow ConvertKit to load its administration functionality.</p><h4>Parameters</h4>
<table>
Expand Down Expand Up @@ -1892,7 +1923,7 @@ do_action( 'convertkit_settings_base_render_after', function( ) {
</pre>
<h3 id="convertkit_settings_base_render_before">
convertkit_settings_base_render_before
<code>admin/section/class-convertkit-admin-section-tools.php::480</code>
<code>admin/section/class-convertkit-admin-section-tools.php::379</code>
</h3><h4>Parameters</h4>
<table>
<thead>
Expand All @@ -1912,7 +1943,7 @@ do_action( 'convertkit_settings_base_render_before', function( ) {
</pre>
<h3 id="convertkit_settings_base_render_after">
convertkit_settings_base_render_after
<code>admin/section/class-convertkit-admin-section-tools.php::503</code>
<code>admin/section/class-convertkit-admin-section-tools.php::402</code>
</h3><h4>Parameters</h4>
<table>
<thead>
Expand Down Expand Up @@ -2170,7 +2201,7 @@ do_action( 'convertkit_admin_post_enqueue_styles', function( ) {
</pre>
<h3 id="convertkit_admin_setup_wizard_process_form_ this-page_name">
convertkit_admin_setup_wizard_process_form_ this-page_name
<code>admin/class-convertkit-admin-setup-wizard.php::209</code>
<code>admin/class-convertkit-admin-setup-wizard.php::269</code>
</h3><h4>Overview</h4>
<p>Process submitted form data for the given setup wizard name and current step.</p><h4>Parameters</h4>
<table>
Expand All @@ -2183,8 +2214,8 @@ do_action( 'convertkit_admin_post_enqueue_styles', function( ) {
</thead>
<tbody><tr>
<td>$step</td>
<td>int</td>
<td>Current step number.</td>
<td>string</td>
<td>Current step.</td>
</tr>
</tbody>
</table><h4>Usage</h4>
Expand All @@ -2195,7 +2226,7 @@ do_action( 'convertkit_admin_setup_wizard_process_form_ this-page_name', functi
</pre>
<h3 id="convertkit_admin_setup_wizard_load_screen_data_ this-page_name">
convertkit_admin_setup_wizard_load_screen_data_ this-page_name
<code>admin/class-convertkit-admin-setup-wizard.php::272</code>
<code>admin/class-convertkit-admin-setup-wizard.php::332</code>
</h3><h4>Overview</h4>
<p>Load any data into class variables for the given setup wizard name and current step.</p><h4>Parameters</h4>
<table>
Expand All @@ -2208,8 +2239,8 @@ do_action( 'convertkit_admin_setup_wizard_process_form_ this-page_name', functi
</thead>
<tbody><tr>
<td>$step</td>
<td>int</td>
<td>Current step number.</td>
<td>string</td>
<td>Current step.</td>
</tr>
</tbody>
</table><h4>Usage</h4>
Expand Down Expand Up @@ -2245,7 +2276,7 @@ do_action( 'convertkit_pre_publish_action_run_ this-get_name', function( ) {
</pre>
<h3 id="convertkit_gutenberg_enqueue_scripts">
convertkit_gutenberg_enqueue_scripts
<code>includes/class-convertkit-gutenberg.php::232</code>
<code>includes/class-convertkit-gutenberg.php::233</code>
</h3><h4>Overview</h4>
<p>Enqueue any additional scripts for Gutenberg blocks that have been registered.</p><h4>Parameters</h4>
<table>
Expand Down Expand Up @@ -2274,7 +2305,7 @@ do_action( 'convertkit_gutenberg_enqueue_scripts', function( $blocks, $block_for
</pre>
<h3 id="convertkit_gutenberg_enqueue_styles">
convertkit_gutenberg_enqueue_styles
<code>includes/class-convertkit-gutenberg.php::256</code>
<code>includes/class-convertkit-gutenberg.php::257</code>
</h3><h4>Parameters</h4>
<table>
<thead>
Expand All @@ -2294,7 +2325,7 @@ do_action( 'convertkit_gutenberg_enqueue_styles', function( ) {
</pre>
<h3 id="convertkit_gutenberg_enqueue_scripts_editor_and_frontend">
convertkit_gutenberg_enqueue_scripts_editor_and_frontend
<code>includes/class-convertkit-gutenberg.php::280</code>
<code>includes/class-convertkit-gutenberg.php::281</code>
</h3><h4>Parameters</h4>
<table>
<thead>
Expand All @@ -2314,7 +2345,7 @@ do_action( 'convertkit_gutenberg_enqueue_scripts_editor_and_frontend', function(
</pre>
<h3 id="convertkit_gutenberg_enqueue_styles_editor_and_frontend">
convertkit_gutenberg_enqueue_styles_editor_and_frontend
<code>includes/class-convertkit-gutenberg.php::304</code>
<code>includes/class-convertkit-gutenberg.php::305</code>
</h3><h4>Parameters</h4>
<table>
<thead>
Expand All @@ -2334,7 +2365,7 @@ do_action( 'convertkit_gutenberg_enqueue_styles_editor_and_frontend', function(
</pre>
<h3 id="convertkit_restrict_content_register_content_filter">
convertkit_restrict_content_register_content_filter
<code>includes/class-convertkit-output-restrict-content.php::507</code>
<code>includes/class-convertkit-output-restrict-content.php::591</code>
</h3><h4>Parameters</h4>
<table>
<thead>
Expand All @@ -2354,7 +2385,7 @@ do_action( 'convertkit_restrict_content_register_content_filter', function( ) {
</pre>
<h3 id="convertkit_output_output_form">
convertkit_output_output_form
<code>includes/class-convertkit-output.php::175</code>
<code>includes/class-convertkit-output.php::232</code>
</h3><h4>Parameters</h4>
<table>
<thead>
Expand All @@ -2374,7 +2405,7 @@ do_action( 'convertkit_output_output_form', function( ) {
</pre>
<h3 id="convertkit_output_landing_page_before">
convertkit_output_landing_page_before
<code>includes/class-convertkit-output.php::256</code>
<code>includes/class-convertkit-output.php::313</code>
</h3><h4>Overview</h4>
<p>Perform any actions immediately prior to outputting the Landing Page. Caching and minification Plugins may need to hook here to prevent CSS / JS minification and lazy loading images, which can interfere with Landing Pages.</p><h4>Parameters</h4>
<table>
Expand Down Expand Up @@ -2407,7 +2438,7 @@ do_action( 'convertkit_output_landing_page_before', function( $landing_page, $la
</pre>
<h3 id="convertkit_initialize_admin">
convertkit_initialize_admin
<code>includes/class-wp-convertkit.php::99</code>
<code>includes/class-wp-convertkit.php::105</code>
</h3><h4>Parameters</h4>
<table>
<thead>
Expand All @@ -2427,7 +2458,7 @@ do_action( 'convertkit_initialize_admin', function( ) {
</pre>
<h3 id="convertkit_initialize_admin_or_frontend_editor">
convertkit_initialize_admin_or_frontend_editor
<code>includes/class-wp-convertkit.php::120</code>
<code>includes/class-wp-convertkit.php::126</code>
</h3><h4>Parameters</h4>
<table>
<thead>
Expand All @@ -2447,7 +2478,7 @@ do_action( 'convertkit_initialize_admin_or_frontend_editor', function( ) {
</pre>
<h3 id="convertkit_initialize_cli_cron">
convertkit_initialize_cli_cron
<code>includes/class-wp-convertkit.php::141</code>
<code>includes/class-wp-convertkit.php::147</code>
</h3><h4>Parameters</h4>
<table>
<thead>
Expand All @@ -2467,7 +2498,7 @@ do_action( 'convertkit_initialize_cli_cron', function( ) {
</pre>
<h3 id="convertkit_initialize_frontend">
convertkit_initialize_frontend
<code>includes/class-wp-convertkit.php::166</code>
<code>includes/class-wp-convertkit.php::172</code>
</h3><h4>Parameters</h4>
<table>
<thead>
Expand All @@ -2487,7 +2518,7 @@ do_action( 'convertkit_initialize_frontend', function( ) {
</pre>
<h3 id="convertkit_initialize_global">
convertkit_initialize_global
<code>includes/class-wp-convertkit.php::209</code>
<code>includes/class-wp-convertkit.php::214</code>
</h3><h4>Parameters</h4>
<table>
<thead>
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
### 3.1.7 2026-02-09
* Added: Setup Wizard: Replace third party detected forms with Kit Forms
* Added: Settings: Tools: ActiveCampaign to Kit Form Importer
* Added: Settings: Tools: Campaign Monitor to Kit Form Importer

### 3.1.6 2026-01-26
* Added: Settings: Tools: MailPoet to Kit Form Importer
* Added: Settings: Tools: Newsletter Plugin to Kit Form Importer
Expand Down
Loading