PluginProbe
weForms – Easy Drag & Drop Contact Form Builder For WordPress / 1.6.1
weForms – Easy Drag & Drop Contact Form Builder For WordPress v1.6.1
1.6.7 1.6.8 1.6.9 1.6.12 1.6.13 1.6.14 1.6.15 1.6.16 1.6.17 1.6.18 1.6.19 1.6.2 1.6.20 1.6.21 1.6.22 1.6.23 1.6.24 1.6.25 1.6.26 1.6.27 1.6.28 1.6.3 1.6.4 1.6.5 1.6.6 All 74 releases
← All changes | includes/admin/class-admin.php +0 -28 1.6.51.6.1 View file →
@@ -9,10 +9,8 @@
9 9 add_action( 'init', [ $this, 'register_post_type' ] );
10 10 add_action( 'admin_menu', [ $this, 'register_admin_menu' ] );
11 11 add_action( 'pre_update_option_wpuf_general', [ $this, 'watch_wpuf_settings' ] );
12 12
13 - add_action( 'admin_notices', array( $this, 'wpuf_premium_cta' ) );
14 -
15 13 add_filter( 'admin_footer_text', [ $this, 'admin_footer_text' ] );
16 14 add_filter( 'admin_post_weforms_export_forms', [ $this, 'export_forms' ] );
17 15 add_filter( 'admin_post_weforms_export_form_entries', [ $this, 'export_form_entries' ] );
18 16
@@ -388,31 +386,5 @@
388 386 */
389 387 public function settings_tab_privacy( $tab ) {
390 388 include __DIR__ . '/views/weforms-settings-privacy.php';
391 389 }
392 -
393 - /**
394 - * WeForms Pro CTA notice
395 - *
396 - * @since 1.6.5
397 - */
398 - public function wpuf_premium_cta() {
399 - $screen = get_current_screen();
400 - if ( $screen && $screen->base && 'toplevel_page_weforms' !== $screen->base ) {
401 - return;
402 - }
403 -
404 - if ( ! class_exists( 'WeForms_Pro' ) ) {
405 - ?>
406 - <div class="notice updated premium-cta">
407 - <p style="display: flex;align-items: center;">
408 - <img style="padding-right:15px;" src="<?php echo WEFORMS_ASSET_URI . '/images/weforms-logo.png'; ?>">
409 - <?php _e( 'You&#39;re using weForms Free. For more features, modules and more consider upgrading to Pro.' , 'weforms' ); ?>
410 - </p>
411 - <p class="submit">
412 - <a href="https://weformspro.com/get-premium/?utm_source=Entries&utm_medium=Button&utm_campaign=Upgrade%20Now" target="_blank" class="button-primary"><?php _e( 'UPGRADE NOW!' , 'weforms' ); ?></a>
413 - </p>
414 - </div>
415 - <?php
416 - }
417 - }
418 390 }