Skip to content

Commit

Permalink
2.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
n7studios committed Jun 6, 2023
1 parent 9071600 commit ee6c6a3
Show file tree
Hide file tree
Showing 4 changed files with 172 additions and 47 deletions.
47 changes: 43 additions & 4 deletions ACTIONS-FILTERS.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@
<td>&nbsp;</td>
<td><a href="#convertkit_block_broadcasts_render_ajax"><code>convertkit_block_broadcasts_render_ajax</code></a></td>
<td>Filter the block's inner content immediately before it is output by AJAX, which occurs when pagination was clicked.</td>
</tr><tr>
<td>&nbsp;</td>
<td><a href="#convertkit_block_broadcasts_build_html_list_item"><code>convertkit_block_broadcasts_build_html_list_item</code></a></td>
<td>Defines the HTML for an individual broadcast item in the Broadcasts block.</td>
</tr><tr>
<td colspan="3">../includes/blocks/class-convertkit-block-form.php</td>
</tr><tr>
Expand Down Expand Up @@ -423,7 +427,7 @@ add_filter( 'convertkit_block_content_render', function( $content, $atts, $subsc
</pre>
<h3 id="convertkit_block_product_render">
convertkit_block_product_render
<code>includes/blocks/class-convertkit-block-product.php::389</code>
<code>includes/blocks/class-convertkit-block-product.php::407</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 @@ -454,7 +458,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::408</code>
<code>includes/blocks/class-convertkit-block-broadcasts.php::596</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 @@ -485,7 +489,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::455</code>
<code>includes/blocks/class-convertkit-block-broadcasts.php::511</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 @@ -514,9 +518,44 @@ add_filter( 'convertkit_block_broadcasts_render_ajax', function( $html, $atts )
return $html;
}, 10, 2 );
</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::677</code>
</h3><h4>Overview</h4>
<p>Defines the HTML for an individual broadcast item in the Broadcasts block.</p><h4>Parameters</h4>
<table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody><tr>
<td>$html</td>
<td>string</td>
<td>HTML.</td>
</tr><tr>
<td>$broadcast</td>
<td>array</td>
<td>Broadcast.</td>
</tr><tr>
<td>$atts</td>
<td>array</td>
<td>Block attributes.</td>
</tr>
</tbody>
</table><h4>Usage</h4>
<pre>
add_filter( 'convertkit_block_broadcasts_build_html_list_item', function( $html, $broadcast, $atts ) {
// ... your code here
// Return value
return $html;
}, 10, 3 );
</pre>
<h3 id="convertkit_block_form_render">
convertkit_block_form_render
<code>includes/blocks/class-convertkit-block-form.php::324</code>
<code>includes/blocks/class-convertkit-block-form.php::342</code>
</h3><h4>Overview</h4>
<p>Filter the block's content immediately before it is output.</p><h4>Parameters</h4>
<table>
Expand Down
158 changes: 118 additions & 40 deletions languages/convertkit.pot
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
# This file is distributed under the same license as the ConvertKit plugin.
msgid ""
msgstr ""
"Project-Id-Version: ConvertKit 2.2.2\n"
"Project-Id-Version: ConvertKit 2.2.3\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/convertkit\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2023-05-23T17:35:49+00:00\n"
"POT-Creation-Date: 2023-06-06T11:43:14+00:00\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"X-Generator: WP-CLI 2.7.1\n"
"X-Domain: convertkit\n"
Expand All @@ -23,8 +23,8 @@ msgstr ""
#: includes/blocks/class-convertkit-block-broadcasts.php:124
#: includes/blocks/class-convertkit-block-content.php:62
#: includes/blocks/class-convertkit-block-form-trigger.php:89
#: includes/blocks/class-convertkit-block-form.php:94
#: includes/blocks/class-convertkit-block-product.php:111
#: includes/blocks/class-convertkit-block-form.php:97
#: includes/blocks/class-convertkit-block-product.php:114
#: includes/integrations/elementor/class-convertkit-elementor.php:70
msgid "ConvertKit"
msgstr ""
Expand Down Expand Up @@ -188,11 +188,11 @@ msgid "General Settings"
msgstr ""

#: admin/section/class-convertkit-settings-general.php:58
#: includes/blocks/class-convertkit-block-broadcasts.php:316
#: includes/blocks/class-convertkit-block-broadcasts.php:358
#: includes/blocks/class-convertkit-block-content.php:146
#: includes/blocks/class-convertkit-block-form-trigger.php:297
#: includes/blocks/class-convertkit-block-form.php:216
#: includes/blocks/class-convertkit-block-product.php:305
#: includes/blocks/class-convertkit-block-form.php:234
#: includes/blocks/class-convertkit-block-product.php:323
msgid "General"
msgstr ""

Expand Down Expand Up @@ -341,7 +341,27 @@ msgid "Prevent plugin from loading JavaScript files. This will disable the custo
msgstr ""

#: admin/section/class-convertkit-settings-general.php:482
msgid "Prevent plugin from loading CSS files. This will disable styling on broadcasts, product buttons and member's content. Use with caution!"
msgid "Prevents loading plugin CSS files. This will disable styling on broadcasts, form trigger buttons, product buttons and member's content. Use with caution!"
msgstr ""

#: admin/section/class-convertkit-settings-general.php:486
msgid "To customize forms and their styling, use the"
msgstr ""

#: admin/section/class-convertkit-settings-general.php:488
msgid "ConvertKit form editor"
msgstr ""

#: admin/section/class-convertkit-settings-general.php:492
msgid "For developers who require custom form designs through use of CSS, consider using the"
msgstr ""

#: admin/section/class-convertkit-settings-general.php:493
msgid "or"
msgstr ""

#: admin/section/class-convertkit-settings-general.php:494
msgid "integrations."
msgstr ""

#: admin/section/class-convertkit-settings-tools.php:28
Expand Down Expand Up @@ -471,8 +491,8 @@ msgstr ""
#: includes/block-formatters/class-convertkit-block-formatter-form-link.php:146
#: includes/blocks/class-convertkit-block-form-trigger.php:90
#: includes/blocks/class-convertkit-block-form-trigger.php:254
#: includes/blocks/class-convertkit-block-form.php:95
#: includes/blocks/class-convertkit-block-form.php:186
#: includes/blocks/class-convertkit-block-form.php:98
#: includes/blocks/class-convertkit-block-form.php:204
#: includes/widgets/class-ck-widget-form.php:79
#: views/backend/post/bulk-edit.php:14
#: views/backend/post/meta-box.php:15
Expand All @@ -493,8 +513,8 @@ msgid "Displays the Product modal when the link is pressed."
msgstr ""

#: includes/block-formatters/class-convertkit-block-formatter-product-link.php:134
#: includes/blocks/class-convertkit-block-product.php:112
#: includes/blocks/class-convertkit-block-product.php:263
#: includes/blocks/class-convertkit-block-product.php:115
#: includes/blocks/class-convertkit-block-product.php:281
msgid "Product"
msgstr ""

Expand Down Expand Up @@ -522,63 +542,95 @@ msgstr ""
msgid "No Broadcasts exist in ConvertKit. Send your first Broadcast in ConvertKit to see the link to it here."
msgstr ""

#: includes/blocks/class-convertkit-block-broadcasts.php:250
#: includes/blocks/class-convertkit-block-broadcasts.php:270
msgid "Display as grid"
msgstr ""

#: includes/blocks/class-convertkit-block-broadcasts.php:272
msgid "If enabled, displays broadcasts in a grid, instead of a list."
msgstr ""

#: includes/blocks/class-convertkit-block-broadcasts.php:275
msgid "Date format"
msgstr ""

#: includes/blocks/class-convertkit-block-broadcasts.php:260
#: includes/blocks/class-convertkit-block-broadcasts.php:285
msgid "Display images"
msgstr ""

#: includes/blocks/class-convertkit-block-broadcasts.php:289
msgid "Display descriptions"
msgstr ""

#: includes/blocks/class-convertkit-block-broadcasts.php:293
msgid "Display read more links"
msgstr ""

#: includes/blocks/class-convertkit-block-broadcasts.php:297
msgid "Read more label"
msgstr ""

#: includes/blocks/class-convertkit-block-broadcasts.php:299
msgid "The label to display for the \"read more\" link below each broadcast."
msgstr ""

#: includes/blocks/class-convertkit-block-broadcasts.php:302
msgid "Number of posts"
msgstr ""

#: includes/blocks/class-convertkit-block-broadcasts.php:267
#: includes/blocks/class-convertkit-block-broadcasts.php:309
msgid "Display pagination"
msgstr ""

#: includes/blocks/class-convertkit-block-broadcasts.php:269
#: includes/blocks/class-convertkit-block-broadcasts.php:311
msgid "If the number of broadcasts exceeds the \"Number of posts\" settings above, previous/next pagination links will be displayed."
msgstr ""

#: includes/blocks/class-convertkit-block-broadcasts.php:272
#: includes/blocks/class-convertkit-block-broadcasts.php:314
msgid "Newer posts label"
msgstr ""

#: includes/blocks/class-convertkit-block-broadcasts.php:274
#: includes/blocks/class-convertkit-block-broadcasts.php:316
msgid "The label to display for the link to newer broadcasts."
msgstr ""

#: includes/blocks/class-convertkit-block-broadcasts.php:277
#: includes/blocks/class-convertkit-block-broadcasts.php:319
msgid "Older posts label"
msgstr ""

#: includes/blocks/class-convertkit-block-broadcasts.php:279
#: includes/blocks/class-convertkit-block-broadcasts.php:321
msgid "The label to display for the link to older broadcasts."
msgstr ""

#: includes/blocks/class-convertkit-block-broadcasts.php:285
#: includes/blocks/class-convertkit-block-broadcasts.php:327
msgid "Link color"
msgstr ""

#: includes/blocks/class-convertkit-block-broadcasts.php:289
#: includes/blocks/class-convertkit-block-broadcasts.php:331
#: includes/blocks/class-convertkit-block-form-trigger.php:268
#: includes/blocks/class-convertkit-block-product.php:276
#: includes/blocks/class-convertkit-block-product.php:294
msgid "Background color"
msgstr ""

#: includes/blocks/class-convertkit-block-broadcasts.php:293
#: includes/blocks/class-convertkit-block-broadcasts.php:335
#: includes/blocks/class-convertkit-block-form-trigger.php:272
#: includes/blocks/class-convertkit-block-product.php:280
#: includes/blocks/class-convertkit-block-product.php:298
msgid "Text color"
msgstr ""

#: includes/blocks/class-convertkit-block-broadcasts.php:345
#: includes/blocks/class-convertkit-block-broadcasts.php:394
msgid "Read more"
msgstr ""

#: includes/blocks/class-convertkit-block-broadcasts.php:397
msgid "Previous"
msgstr ""

#: includes/blocks/class-convertkit-block-broadcasts.php:346
#: includes/blocks/class-convertkit-block-broadcasts.php:398
msgid "Next"
msgstr ""

#: includes/blocks/class-convertkit-block-broadcasts.php:392
#: includes/blocks/class-convertkit-block-broadcasts.php:444
msgid "No Broadcasts exist in ConvertKit."
msgstr ""

Expand All @@ -605,7 +657,7 @@ msgid "Displays a modal, sticky bar or slide in form to display when the button
msgstr ""

#: includes/blocks/class-convertkit-block-form-trigger.php:112
#: includes/blocks/class-convertkit-block-form.php:117
#: includes/blocks/class-convertkit-block-form.php:130
msgid "Select a Form using the Form option in the Gutenberg sidebar."
msgstr ""

Expand All @@ -614,12 +666,12 @@ msgid "The modal, sticky bar or slide in form to display when the button is pres
msgstr ""

#: includes/blocks/class-convertkit-block-form-trigger.php:260
#: includes/blocks/class-convertkit-block-product.php:268
#: includes/blocks/class-convertkit-block-product.php:286
msgid "Button Text"
msgstr ""

#: includes/blocks/class-convertkit-block-form-trigger.php:262
#: includes/blocks/class-convertkit-block-product.php:270
#: includes/blocks/class-convertkit-block-product.php:288
msgid "The text to display for the button."
msgstr ""

Expand All @@ -644,46 +696,72 @@ msgstr ""
msgid "ConvertKit Form ID %s has no embed_js property."
msgstr ""

#: includes/blocks/class-convertkit-block-form.php:89
#: includes/blocks/class-convertkit-block-form.php:92
#: includes/integrations/contactform7/class-convertkit-contactform7-admin-settings.php:131
#: includes/integrations/wishlist/class-convertkit-wishlist-admin-settings.php:142
#: views/backend/term/fields-add.php:11
#: views/backend/term/fields-edit.php:12
msgid "ConvertKit Form"
msgstr ""

#: includes/blocks/class-convertkit-block-form.php:90
#: includes/blocks/class-convertkit-block-form.php:93
msgid "Displays a ConvertKit Form."
msgstr ""

#. translators: Form name in ConvertKit
#: includes/blocks/class-convertkit-block-form.php:121
#: includes/blocks/class-convertkit-block-product.php:138
msgid "No API Key specified."
msgstr ""

#: includes/blocks/class-convertkit-block-form.php:123
#: includes/blocks/class-convertkit-block-product.php:140
msgid "Click here to add your API Key."
msgstr ""

#: includes/blocks/class-convertkit-block-form.php:126
msgid "No forms exist in ConvertKit."
msgstr ""

#: includes/blocks/class-convertkit-block-form.php:128
msgid "Click here to create your first form."
msgstr ""

#. translators: Form name in ConvertKit
#: includes/blocks/class-convertkit-block-form.php:139
msgid "Modal form \"%s\" selected. View on the frontend site to see the modal form."
msgstr ""

#. translators: Form name in ConvertKit
#: includes/blocks/class-convertkit-block-form.php:129
#: includes/blocks/class-convertkit-block-form.php:142
msgid "Slide in form \"%s\" selected. View on the frontend site to see the slide in form."
msgstr ""

#. translators: Form name in ConvertKit
#: includes/blocks/class-convertkit-block-form.php:132
#: includes/blocks/class-convertkit-block-form.php:145
msgid "Sticky bar form \"%s\" selected. View on the frontend site to see the sticky bar form."
msgstr ""

#: includes/blocks/class-convertkit-block-product.php:106
#: includes/blocks/class-convertkit-block-product.php:109
msgid "ConvertKit Product"
msgstr ""

#: includes/blocks/class-convertkit-block-product.php:107
#: includes/blocks/class-convertkit-block-product.php:110
msgid "Displays a button to purchase a ConvertKit product."
msgstr ""

#: includes/blocks/class-convertkit-block-product.php:134
#: includes/blocks/class-convertkit-block-product.php:143
msgid "No products exist in ConvertKit."
msgstr ""

#: includes/blocks/class-convertkit-block-product.php:145
msgid "Click here to create your first product."
msgstr ""

#: includes/blocks/class-convertkit-block-product.php:147
msgid "Select a Product using the Product option in the Gutenberg sidebar."
msgstr ""

#: includes/blocks/class-convertkit-block-product.php:328
#: includes/blocks/class-convertkit-block-product.php:346
msgid "Buy my product"
msgstr ""

Expand Down
Loading

0 comments on commit ee6c6a3

Please sign in to comment.