Skip to content
Merged

3.2.0 #1033

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
53 changes: 42 additions & 11 deletions ACTIONS-FILTERS.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,10 @@
<td>&nbsp;</td>
<td><a href="#convertkit_admin_gutenberg_add_block_categories"><code>convertkit_admin_gutenberg_add_block_categories</code></a></td>
<td>Adds block categories to the default Gutenberg Block Categories</td>
</tr><tr>
<td>&nbsp;</td>
<td><a href="#convertkit_gutenberg_block_api_version"><code>convertkit_gutenberg_block_api_version</code></a></td>
<td>Determine the block API version to use for registering blocks.</td>
</tr><tr>
<td colspan="3">includes/integrations/contactform7/class-convertkit-contactform7-settings.php</td>
</tr><tr>
Expand Down Expand Up @@ -734,7 +738,7 @@ add_filter( 'convertkit_block_product_render', function( $html, $atts ) {
</pre>
<h3 id="convertkit_block_broadcasts_render">
convertkit_block_broadcasts_render
<code>includes/blocks/class-convertkit-block-broadcasts.php::732</code>
<code>includes/blocks/class-convertkit-block-broadcasts.php::747</code>
</h3><h4>Overview</h4>
<p>Filter the block's content immediately before it is output.</p><h4>Parameters</h4>
<table>
Expand Down Expand Up @@ -765,7 +769,7 @@ add_filter( 'convertkit_block_broadcasts_render', function( $html, $atts ) {
</pre>
<h3 id="convertkit_block_broadcasts_render_ajax">
convertkit_block_broadcasts_render_ajax
<code>includes/blocks/class-convertkit-block-broadcasts.php::646</code>
<code>includes/blocks/class-convertkit-block-broadcasts.php::661</code>
</h3><h4>Overview</h4>
<p>Filter the block's inner content immediately before it is output by AJAX, which occurs when pagination was clicked.</p><h4>Parameters</h4>
<table>
Expand Down Expand Up @@ -796,7 +800,7 @@ add_filter( 'convertkit_block_broadcasts_render_ajax', function( $html, $atts )
</pre>
<h3 id="convertkit_block_broadcasts_build_html_list_item">
convertkit_block_broadcasts_build_html_list_item
<code>includes/blocks/class-convertkit-block-broadcasts.php::813</code>
<code>includes/blocks/class-convertkit-block-broadcasts.php::828</code>
</h3><h4>Overview</h4>
<p>Defines the HTML for an individual broadcast item in the Broadcasts block.</p><h4>Parameters</h4>
<table>
Expand Down Expand Up @@ -1154,6 +1158,33 @@ add_filter( 'convertkit_admin_gutenberg_add_block_categories', function( $catego
return $categories;
}, 10, 2 );
</pre>
<h3 id="convertkit_gutenberg_block_api_version">
convertkit_gutenberg_block_api_version
<code>includes/class-convertkit-gutenberg.php::211</code>
</h3><h4>Overview</h4>
<p>Determine the block API version to use for registering blocks.</p><h4>Parameters</h4>
<table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody><tr>
<td>$block_api_version</td>
<td>int</td>
<td>Block API version.</td>
</tr>
</tbody>
</table><h4>Usage</h4>
<pre>
add_filter( 'convertkit_gutenberg_block_api_version', function( $block_api_version ) {
// ... your code here
// Return value
return $block_api_version;
}, 10, 1 );
</pre>
<h3 id="convertkit_contactform7_settings_get_defaults">
convertkit_contactform7_settings_get_defaults
<code>includes/integrations/contactform7/class-convertkit-contactform7-settings.php::149</code>
Expand Down Expand Up @@ -1392,7 +1423,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::2050</code>
<code>includes/class-convertkit-output-restrict-content.php::2051</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 @@ -1524,7 +1555,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::930</code>
<code>includes/class-convertkit-output.php::923</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 @@ -1551,7 +1582,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::949</code>
<code>includes/class-convertkit-output.php::942</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 @@ -1578,7 +1609,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::610</code>
<code>includes/class-convertkit-settings.php::624</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 @@ -2309,7 +2340,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::233</code>
<code>includes/class-convertkit-gutenberg.php::264</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 @@ -2338,7 +2369,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::257</code>
<code>includes/class-convertkit-gutenberg.php::288</code>
</h3><h4>Parameters</h4>
<table>
<thead>
Expand All @@ -2358,7 +2389,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::281</code>
<code>includes/class-convertkit-gutenberg.php::312</code>
</h3><h4>Parameters</h4>
<table>
<thead>
Expand All @@ -2378,7 +2409,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::305</code>
<code>includes/class-convertkit-gutenberg.php::336</code>
</h3><h4>Parameters</h4>
<table>
<thead>
Expand Down
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
### 3.2.0 2026-02-26
* Added: Minify CSS into single frontend.css resource
* Added: Minify JS into single frontend.min.js resource
* Added: Settings: Advanced: Option to disable Add New button for Landing Pages and Member Content
* Updated: Blocks: Broadcasts: Improve REST API
* Updated: Classic Editor (TinyMCE/Quick Tags): Improve REST API
* Updated: Blocks: Use apiVersion 3 when WordPress version is 6.3 or higher
* Fix: Classic Editor (TinyMCE/Quick Tags): CLosing tag on `color` input types was missing
* Fix: Blocks: Specify apiVersion in registerBlockType, to honor loading apiVersion 2 or 3 blocks

### 3.1.9 2026-02-17
* Added: Settings: Tools: Campaign Monitor to Kit Form Importer: Support replacing shortcodes with single quotation marks
* Updated: Blocks: Broadcasts: Use REST API, replacing admin-ajax.php
Expand Down
Loading