PluginProbe
Kit (formerly ConvertKit) – Email Newsletter, Email Marketing, Membership, Subscribers and Landing Pages / 2.4.0
Kit (formerly ConvertKit) – Email Newsletter, Email Marketing, Membership, Subscribers and Landing Pages v2.4.0
3.4.4 3.4.3 3.4.2 3.4.1 3.4.0 3.3.9 3.3.8 3.3.7 3.3.6 3.3.5 3.3.4 3.3.3 3.3.2 3.3.1 2.2.0 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.2.6 2.2.7 2.2.8 2.2.9 2.3.0 All 197 releases
← All changes | admin/class-convertkit-admin-settings.php +13 -11 2.2.92.4.0 View file →
@@ -129,8 +129,20 @@
129 129 ?>
130 130
131 131 <header>
132 132 <h1><?php esc_html_e( 'ConvertKit', 'convertkit' ); ?></h1>
133 +
134 + <?php
135 + // Output Help link tab, if it exists.
136 + $documentation_url = $this->get_active_section_documentation_url( $active_section );
137 + if ( $documentation_url !== false ) {
138 + printf(
139 + '<a href="%s" class="convertkit-docs" target="_blank">%s</a>',
140 + esc_attr( $documentation_url ),
141 + esc_html__( 'Help', 'convertkit' )
142 + );
143 + }
144 + ?>
133 145 </header>
134 146
135 147 <div class="wrap">
136 148 <?php
@@ -149,9 +161,9 @@
149 161 </form>
150 162
151 163 <p class="description">
152 164 <?php
153 - // Output Documentation link, if it exists.
165 + // Output Help link, if it exists.
154 166 $documentation_url = $this->get_active_section_documentation_url( $active_section );
155 167 if ( $documentation_url !== false ) {
156 168 printf(
157 169 '%s <a href="%s" target="_blank">%s</a>',
@@ -238,18 +250,8 @@
238 250 ),
239 251 ( $active_section === $section->name ? 'convertkit-tab-active' : '' ),
240 252 esc_html( $section->tab_text ),
241 253 $section->is_beta ? $this->get_beta_tab() : '' // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
242 - );
243 - }
244 -
245 - // Output Documentation link tab, if it exists.
246 - $documentation_url = $this->get_active_section_documentation_url( $active_section );
247 - if ( $documentation_url !== false ) {
248 - printf(
249 - '<li class="convertkit-docs"><a href="%s" class="convertkit-tab" target="_blank">%s <span class="dashicons dashicons-external"></span></a></li>',
250 - esc_attr( $documentation_url ),
251 - esc_html__( 'Documentation', 'convertkit' )
252 254 );
253 255 }
254 256 ?>
255 257 </ul>