diff --git a/ACTIONS-FILTERS.md b/ACTIONS-FILTERS.md index bcae0dbe4..3276f72b2 100644 --- a/ACTIONS-FILTERS.md +++ b/ACTIONS-FILTERS.md @@ -7,12 +7,6 @@ - admin/class-convertkit-admin-notices.php - -   - convertkit_admin_notices_output_ notice - Define the text to output in an admin error notice. - admin/section/class-convertkit-admin-section-base.php   @@ -114,6 +108,12 @@   convertkit_block_form_trigger_render Filter the block's content immediately before it is output. + + includes/class-convertkit-admin-notices.php + +   + convertkit_admin_notices_output_ notice + Define the text to output in an admin error notice. includes/class-convertkit-post.php @@ -250,34 +250,7 @@ Define the HTML tags to retain in the Broadcast Content. -

- convertkit_admin_notices_output_ notice - admin/class-convertkit-admin-notices.php::87 -

Overview

-

Define the text to output in an admin error notice.

Parameters

- - - - - - - - - - - - - - -
ParameterTypeDescription
$noticestringAdmin notice name.

Usage

-
-add_filter( 'convertkit_admin_notices_output_  notice', function( $output ) {
-	// ... your code here
-	// Return value
-	return $output;
-}, 10, 1 );
-
-

+

convertkit_settings_base_register_notices admin/section/class-convertkit-admin-section-base.php::208

Overview

@@ -885,6 +858,33 @@ add_filter( 'convertkit_block_form_trigger_render', function( $html, $atts ) { return $html; }, 10, 2 ); +

+ convertkit_admin_notices_output_ notice + includes/class-convertkit-admin-notices.php::87 +

Overview

+

Define the text to output in an admin error notice.

Parameters

+ + + + + + + + + + + + + + +
ParameterTypeDescription
$noticestringAdmin notice name.

Usage

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

convertkit_post_settings includes/class-convertkit-post.php::85 @@ -1057,7 +1057,7 @@ add_filter( 'convertkit_user_get_default_settings', function( $defaults ) {

convertkit_admin_gutenberg_add_block_categories - includes/class-convertkit-gutenberg.php::66 + includes/class-convertkit-gutenberg.php::107

Overview

Adds block categories to the default Gutenberg Block Categories

Parameters

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

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

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

@@ -1200,7 +1200,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::793 + includes/class-convertkit-output-restrict-content.php::920

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

@@ -1231,7 +1231,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::1095 + includes/class-convertkit-output-restrict-content.php::1212

Overview

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

Parameters

@@ -1262,7 +1262,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::1109 + includes/class-convertkit-output-restrict-content.php::1226

Overview

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

Parameters

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

convertkit_output_restrict_content_is_crawler_permitted_user_agent_ip_ranges - includes/class-convertkit-output-restrict-content.php::1826 + includes/class-convertkit-output-restrict-content.php::1945

Overview

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

Parameters

@@ -1425,7 +1425,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

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

Overview

Filter the form