Skip to content
Merged

3.1.0 #962

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
108 changes: 54 additions & 54 deletions ACTIONS-FILTERS.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,6 @@
</tr>
</thead>
<tbody><tr>
<td colspan="3">admin/class-convertkit-admin-notices.php</td>
</tr><tr>
<td>&nbsp;</td>
<td><a href="#convertkit_admin_notices_output_ notice"><code>convertkit_admin_notices_output_ notice</code></a></td>
<td>Define the text to output in an admin error notice.</td>
</tr><tr>
<td colspan="3">admin/section/class-convertkit-admin-section-base.php</td>
</tr><tr>
<td>&nbsp;</td>
Expand Down Expand Up @@ -114,6 +108,12 @@
<td>&nbsp;</td>
<td><a href="#convertkit_block_form_trigger_render"><code>convertkit_block_form_trigger_render</code></a></td>
<td>Filter the block's content immediately before it is output.</td>
</tr><tr>
<td colspan="3">includes/class-convertkit-admin-notices.php</td>
</tr><tr>
<td>&nbsp;</td>
<td><a href="#convertkit_admin_notices_output_ notice"><code>convertkit_admin_notices_output_ notice</code></a></td>
<td>Define the text to output in an admin error notice.</td>
</tr><tr>
<td colspan="3">includes/class-convertkit-post.php</td>
</tr><tr>
Expand Down Expand Up @@ -250,34 +250,7 @@
<td>Define the HTML tags to retain in the Broadcast Content.</td>
</tr>
</tbody>
</table><h3 id="convertkit_admin_notices_output_ notice">
convertkit_admin_notices_output_ notice
<code>admin/class-convertkit-admin-notices.php::87</code>
</h3><h4>Overview</h4>
<p>Define the text to output in an admin error notice.</p><h4>Parameters</h4>
<table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody><tr>
<td>$notice</td>
<td>string</td>
<td>Admin notice name.</td>
</tr>
</tbody>
</table><h4>Usage</h4>
<pre>
add_filter( 'convertkit_admin_notices_output_ notice', function( $output ) {
// ... your code here
// Return value
return $output;
}, 10, 1 );
</pre>
<h3 id="convertkit_settings_base_register_notices">
</table><h3 id="convertkit_settings_base_register_notices">
convertkit_settings_base_register_notices
<code>admin/section/class-convertkit-admin-section-base.php::208</code>
</h3><h4>Overview</h4>
Expand Down Expand Up @@ -885,6 +858,33 @@ add_filter( 'convertkit_block_form_trigger_render', function( $html, $atts ) {
return $html;
}, 10, 2 );
</pre>
<h3 id="convertkit_admin_notices_output_ notice">
convertkit_admin_notices_output_ notice
<code>includes/class-convertkit-admin-notices.php::87</code>
</h3><h4>Overview</h4>
<p>Define the text to output in an admin error notice.</p><h4>Parameters</h4>
<table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody><tr>
<td>$notice</td>
<td>string</td>
<td>Admin notice name.</td>
</tr>
</tbody>
</table><h4>Usage</h4>
<pre>
add_filter( 'convertkit_admin_notices_output_ notice', function( $output ) {
// ... your code here
// Return value
return $output;
}, 10, 1 );
</pre>
<h3 id="convertkit_post_settings">
convertkit_post_settings
<code>includes/class-convertkit-post.php::85</code>
Expand Down Expand Up @@ -1057,7 +1057,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::66</code>
<code>includes/class-convertkit-gutenberg.php::107</code>
</h3><h4>Overview</h4>
<p>Adds block categories to the default Gutenberg Block Categories</p><h4>Parameters</h4>
<table>
Expand Down Expand Up @@ -1169,7 +1169,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::755</code>
<code>includes/class-convertkit-output-restrict-content.php::882</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 @@ -1200,7 +1200,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::793</code>
<code>includes/class-convertkit-output-restrict-content.php::920</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 @@ -1231,7 +1231,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::1095</code>
<code>includes/class-convertkit-output-restrict-content.php::1212</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 @@ -1262,7 +1262,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::1109</code>
<code>includes/class-convertkit-output-restrict-content.php::1226</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 @@ -1293,7 +1293,7 @@ add_filter( 'convertkit_output_restrict_content_call_to_action', function( $call
</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::1826</code>
<code>includes/class-convertkit-output-restrict-content.php::1945</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 Down Expand Up @@ -1425,7 +1425,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::870</code>
<code>includes/class-convertkit-output.php::873</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 @@ -1452,7 +1452,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::889</code>
<code>includes/class-convertkit-output.php::892</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 All @@ -1479,7 +1479,7 @@ add_filter( 'convertkit_output_script_footer', function( $script ) {
</pre>
<h3 id="convertkit_settings_get_defaults">
convertkit_settings_get_defaults
<code>includes/class-convertkit-settings.php::608</code>
<code>includes/class-convertkit-settings.php::612</code>
</h3><h4>Overview</h4>
<p>The default settings, used when the ConvertKit Plugin Settings haven't been saved e.g. on a new installation.</p><h4>Parameters</h4>
<table>
Expand Down Expand Up @@ -1857,7 +1857,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::328</code>
<code>admin/section/class-convertkit-admin-section-tools.php::365</code>
</h3><h4>Parameters</h4>
<table>
<thead>
Expand All @@ -1877,7 +1877,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::342</code>
<code>admin/section/class-convertkit-admin-section-tools.php::385</code>
</h3><h4>Parameters</h4>
<table>
<thead>
Expand Down Expand Up @@ -2210,7 +2210,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::175</code>
<code>includes/class-convertkit-gutenberg.php::217</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 @@ -2239,7 +2239,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::199</code>
<code>includes/class-convertkit-gutenberg.php::241</code>
</h3><h4>Parameters</h4>
<table>
<thead>
Expand All @@ -2259,7 +2259,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::223</code>
<code>includes/class-convertkit-gutenberg.php::265</code>
</h3><h4>Parameters</h4>
<table>
<thead>
Expand All @@ -2279,7 +2279,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::247</code>
<code>includes/class-convertkit-gutenberg.php::289</code>
</h3><h4>Parameters</h4>
<table>
<thead>
Expand All @@ -2299,7 +2299,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::383</code>
<code>includes/class-convertkit-output-restrict-content.php::507</code>
</h3><h4>Parameters</h4>
<table>
<thead>
Expand Down Expand Up @@ -2372,7 +2372,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::101</code>
<code>includes/class-wp-convertkit.php::99</code>
</h3><h4>Parameters</h4>
<table>
<thead>
Expand All @@ -2392,7 +2392,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::122</code>
<code>includes/class-wp-convertkit.php::120</code>
</h3><h4>Parameters</h4>
<table>
<thead>
Expand All @@ -2412,7 +2412,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::143</code>
<code>includes/class-wp-convertkit.php::141</code>
</h3><h4>Parameters</h4>
<table>
<thead>
Expand All @@ -2432,7 +2432,7 @@ do_action( 'convertkit_initialize_cli_cron', function( ) {
</pre>
<h3 id="convertkit_initialize_frontend">
convertkit_initialize_frontend
<code>includes/class-wp-convertkit.php::168</code>
<code>includes/class-wp-convertkit.php::166</code>
</h3><h4>Parameters</h4>
<table>
<thead>
Expand Down
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
### 3.1.0 2025-11-20
* Added: Settings: Tools: Mailchimp for WordPress to Kit Form Importer
* Fix: Settings: Non-inline Forms: Correctly output `data-kit-limit-per-session`
* Fix: Settings: Automatically delete invalid Access Tokens
* Fix: Member Content: Courses: Next/Previous Links compatibility for WordPress 6.9
* Fix: Landing Pages: Prevent LazyLoad Plugin from lazy loading images on Landing Pages, which would result in missing images
* Updated: Blocks: Refresh Resources: Use REST API, replacing admin-ajax.php
* Updated: Refresh Resources: Use REST API, replacing admin-ajax.php
* Updated: Member Content: Use REST API, replacing admin-ajax.php
* Updated: Use WordPress Libraries 2.1.1
* Removed: Unused `convertkit_store_subscriber_id_in_cookie` AJAX function

### 3.0.8 2025-11-05
* Fix: Member Content: Product: Display 'no access' notice when logged in and no access

Expand Down
Loading