Skip to content
Draft

3.4.9 #1267

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
76 changes: 74 additions & 2 deletions ACTIONS-FILTERS.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,16 @@
<td>&nbsp;</td>
<td><a href="#convertkit_settings_broadcasts_get_defaults"><code>convertkit_settings_broadcasts_get_defaults</code></a></td>
<td>The default settings, used when the ConvertKit Broadcasts Settings haven't been saved e.g. on a new installation.</td>
</tr><tr>
<td colspan="3">includes/class-convertkit-broadcasts-exporter.php</td>
</tr><tr>
<td>&nbsp;</td>
<td><a href="#convertkit_broadcasts_exporter_preview_text"><code>convertkit_broadcasts_exporter_preview_text</code></a></td>
<td>Define the preview text for the Broadcast created from the WordPress Post.</td>
</tr><tr>
<td>&nbsp;</td>
<td><a href="#convertkit_broadcasts_exporter_web_link_text"><code>convertkit_broadcasts_exporter_web_link_text</code></a></td>
<td>Define the text for the link to read the Post on the web, in Broadcasts created from WordPress Posts.</td>
</tr><tr>
<td colspan="3">includes/class-convertkit-settings-restrict-content.php</td>
</tr><tr>
Expand Down Expand Up @@ -1285,7 +1295,7 @@ add_filter( 'convertkit_term_get_default_settings', function( $defaults ) {
</pre>
<h3 id="convertkit_settings_broadcasts_get_defaults">
convertkit_settings_broadcasts_get_defaults
<code>includes/class-convertkit-settings-broadcasts.php::327</code>
<code>includes/class-convertkit-settings-broadcasts.php::421</code>
</h3><h4>Overview</h4>
<p>The default settings, used when the ConvertKit Broadcasts Settings haven't been saved e.g. on a new installation.</p><h4>Parameters</h4>
<table>
Expand All @@ -1310,6 +1320,68 @@ add_filter( 'convertkit_settings_broadcasts_get_defaults', function( $defaults )
return $defaults;
}, 10, 1 );
</pre>
<h3 id="convertkit_broadcasts_exporter_preview_text">
convertkit_broadcasts_exporter_preview_text
<code>includes/class-convertkit-broadcasts-exporter.php::332</code>
</h3><h4>Overview</h4>
<p>Define the preview text for the Broadcast created from the WordPress Post.</p><h4>Parameters</h4>
<table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody><tr>
<td>$preview_text</td>
<td>string</td>
<td>Preview text.</td>
</tr><tr>
<td>WordPress</td>
<td>WP_Post $post</td>
<td>Post.</td>
</tr>
</tbody>
</table><h4>Usage</h4>
<pre>
add_filter( 'convertkit_broadcasts_exporter_preview_text', function( $preview_text, $post ) {
// ... your code here
// Return value
return $preview_text;
}, 10, 2 );
</pre>
<h3 id="convertkit_broadcasts_exporter_web_link_text">
convertkit_broadcasts_exporter_web_link_text
<code>includes/class-convertkit-broadcasts-exporter.php::535</code>
</h3><h4>Overview</h4>
<p>Define the text for the link to read the Post on the web, in Broadcasts created from WordPress Posts.</p><h4>Parameters</h4>
<table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody><tr>
<td>$text</td>
<td>string</td>
<td>Link text.</td>
</tr><tr>
<td>WordPress</td>
<td>WP_Post $post</td>
<td>Post.</td>
</tr>
</tbody>
</table><h4>Usage</h4>
<pre>
add_filter( 'convertkit_broadcasts_exporter_web_link_text', function( __( 'Read this on the web', 'convertkit' ) {
// ... your code here
// Return value
return __( 'Read this on the web';
}, 10, 2 );
</pre>
<h3 id="convertkit_settings_restrict_content_get_defaults">
convertkit_settings_restrict_content_get_defaults
<code>includes/class-convertkit-settings-restrict-content.php::277</code>
Expand Down Expand Up @@ -2381,7 +2453,7 @@ do_action( 'convertkit_settings_base_render_after', function( ) {
</pre>
<h3 id="convertkit_settings_base_sanitize_settings">
convertkit_settings_base_sanitize_settings
<code>admin/section/class-convertkit-admin-section-base.php::991</code>
<code>admin/section/class-convertkit-admin-section-base.php::1005</code>
</h3><h4>Parameters</h4>
<table>
<thead>
Expand Down
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
### 3.4.9 2026-10-30
* Added: Broadcasts: Export: Send To setting, to send draft Broadcasts to all subscribers, a Tag or a Segment
* Added: Broadcasts: Export: Make Public setting, to publish Broadcasts to your Kit Newsletter site, using the Post's published date and featured image
* Added: Broadcasts: Export: Greeting, Sign-off and Read on the Web settings
* Added: Broadcasts: Export: Open in Kit row action for exported Posts
* Updated: Broadcasts: Export: Update the existing draft Broadcast when exporting a Post again, instead of creating a duplicate
* Updated: Broadcasts: Export: Use the Post's excerpt as the Broadcast's preview text
* Updated: WordPress Libraries to 2.8.1

### 3.4.8 2026-10-28
* Added: Settings: Broadcasts: Separate Import and Export settings panels
* Updated: Broadcasts: Export: Convert relative links and image URLs to absolute URLs
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"type": "project",
"license": "GPLv3",
"require": {
"convertkit/convertkit-wordpress-libraries": "dev-resource-segments"
"convertkit/convertkit-wordpress-libraries": "2.8.1"
},
"require-dev": {
"php-webdriver/webdriver": "^1.0",
Expand Down
Loading
Loading