diff --git a/ACTIONS-FILTERS.md b/ACTIONS-FILTERS.md index 6271e34f9..e5b009064 100644 --- a/ACTIONS-FILTERS.md +++ b/ACTIONS-FILTERS.md @@ -58,6 +58,10 @@   convertkit_get_pre_publish_actions Registers pre-publish actions for the ConvertKit Plugin. + +   + convertkit_get_form_importers + Registers form importers for the ConvertKit Plugin. includes/blocks/class-convertkit-block-content.php @@ -563,6 +567,33 @@ add_filter( 'convertkit_get_pre_publish_actions', function( $pre_publish_actions return $pre_publish_actions; }, 10, 1 ); +

+ convertkit_get_form_importers + includes/functions.php::279 +

Overview

+

Registers form importers for the ConvertKit Plugin.

Parameters

+ + + + + + + + + + + + + + +
ParameterTypeDescription
$importersarrayImporters.

Usage

+
+add_filter( 'convertkit_get_form_importers', function( $importers ) {
+	// ... your code here
+	// Return value
+	return $importers;
+}, 10, 1 );
+

convertkit_block_content_render includes/blocks/class-convertkit-block-content.php::295 @@ -1061,7 +1092,7 @@ add_filter( 'convertkit_user_get_default_settings', function( $defaults ) {

convertkit_admin_gutenberg_add_block_categories - includes/class-convertkit-gutenberg.php::122 + includes/class-convertkit-gutenberg.php::123

Overview

Adds block categories to the default Gutenberg Block Categories

Parameters

@@ -1173,7 +1204,7 @@ add_filter( 'convertkit_wishlist_settings_get_defaults', function( $defaults ) {

convertkit_output_restrict_content_get_resource_type - includes/class-convertkit-output-restrict-content.php::882 + includes/class-convertkit-output-restrict-content.php::966

Overview

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.

Parameters

@@ -1204,7 +1235,7 @@ add_filter( 'convertkit_output_restrict_content_get_resource_type', function( $r

convertkit_output_restrict_content_get_resource_id - includes/class-convertkit-output-restrict-content.php::920 + includes/class-convertkit-output-restrict-content.php::1004

Overview

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.

Parameters

@@ -1235,7 +1266,7 @@ add_filter( 'convertkit_output_restrict_content_get_resource_id', function( $res

convertkit_output_restrict_content_content_preview - includes/class-convertkit-output-restrict-content.php::1212 + includes/class-convertkit-output-restrict-content.php::1296

Overview

Define the output for the content preview when the visitor is not an authenticated subscriber.

Parameters

@@ -1266,7 +1297,7 @@ add_filter( 'convertkit_output_restrict_content_content_preview', function( $con

convertkit_output_restrict_content_call_to_action - includes/class-convertkit-output-restrict-content.php::1226 + includes/class-convertkit-output-restrict-content.php::1310

Overview

Define the output for the call to action, displayed below the content preview, when the visitor is not an authenticated subscriber.

Parameters

@@ -1297,7 +1328,7 @@ add_filter( 'convertkit_output_restrict_content_call_to_action', function( $call

convertkit_output_restrict_content_container_css_classes - includes/class-convertkit-output-restrict-content.php::1239 + includes/class-convertkit-output-restrict-content.php::1323

Overview

Define the container CSS classes to wrap the content preview and call to action within.

Parameters

@@ -1328,7 +1359,7 @@ add_filter( 'convertkit_output_restrict_content_container_css_classes', function

convertkit_output_restrict_content_is_crawler_permitted_user_agent_ip_ranges - includes/class-convertkit-output-restrict-content.php::1966 + includes/class-convertkit-output-restrict-content.php::2050

Overview

Define the permitted user agents and their IP address ranges that can bypass Restrict Content to index content for search engines.

Parameters

@@ -1355,7 +1386,7 @@ add_filter( 'convertkit_output_restrict_content_is_crawler_permitted_user_agent_

convertkit_output_page_takeover_landing_page_id - includes/class-convertkit-output.php::220 + includes/class-convertkit-output.php::277

Overview

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.

Parameters

@@ -1386,7 +1417,7 @@ add_filter( 'convertkit_output_page_takeover_landing_page_id', function( $landin

convertkit_output_append_form_to_content_form_id - includes/class-convertkit-output.php::300 + includes/class-convertkit-output.php::357

Overview

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.

Parameters

@@ -1417,7 +1448,7 @@ add_filter( 'convertkit_output_append_form_to_content_form_id', function( $form_

convertkit_frontend_append_form - includes/class-convertkit-output.php::411 + includes/class-convertkit-output.php::468

Overview

Filter the Post's Content, which includes a ConvertKit Form, immediately before it is output.

Parameters

@@ -1460,7 +1491,7 @@ add_filter( 'convertkit_frontend_append_form', function( $content, $form, $post_

Overview

Define an array of scripts to output in the footer of the WordPress site.

Parameters

@@ -1487,7 +1518,7 @@ add_filter( 'convertkit_output_scripts_footer', function( $scripts ) {

Overview

Filter the form