From 393d323d916b1fd7848dbadfe2daeffb8b0b9d6d Mon Sep 17 00:00:00 2001 From: Tim Carr Date: Thu, 12 Dec 2024 10:23:59 +0800 Subject: [PATCH] 2.6.9 --- ACTIONS-FILTERS.md | 20 +++--- languages/convertkit.pot | 142 ++++++++++++++++++++++++--------------- readme.txt | 6 +- wp-convertkit.php | 4 +- 4 files changed, 104 insertions(+), 68 deletions(-) diff --git a/ACTIONS-FILTERS.md b/ACTIONS-FILTERS.md index 2899e2af..a0e987c7 100644 --- a/ACTIONS-FILTERS.md +++ b/ACTIONS-FILTERS.md @@ -859,7 +859,7 @@ add_filter( 'convertkit_settings_broadcasts_get_defaults', function( $defaults )

convertkit_settings_restrict_content_get_defaults - includes/class-convertkit-settings-restrict-content.php::145 + includes/class-convertkit-settings-restrict-content.php::229

Overview

The default settings, used when the ConvertKit Restrict Content Settings haven't been saved e.g. on a new installation.

Parameters

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

convertkit_output_restrict_content_get_resource_type - includes/class-convertkit-output-restrict-content.php::661 + includes/class-convertkit-output-restrict-content.php::716

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

@@ -1056,7 +1056,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::699 + includes/class-convertkit-output-restrict-content.php::754

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

@@ -1087,7 +1087,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::882 + includes/class-convertkit-output-restrict-content.php::937

Overview

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

Parameters

@@ -1118,7 +1118,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::896 + includes/class-convertkit-output-restrict-content.php::951

Overview

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

Parameters

@@ -1149,7 +1149,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::1251 + includes/class-convertkit-output-restrict-content.php::1322

Overview

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

Parameters

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

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

Overview

Filter the form