PluginProbe
Tiered Pricing Table for WooCommerce / 8.1.0
Tiered Pricing Table for WooCommerce v8.1.0
8.1.0 8.0.2 7.1.7 7.1.5 7.1.4 7.1.1 6.5.0 6.4.0 6.1.0 trunk 1.0 1.1 2.0 2.0.1 2.0.2 2.1 2.1.1 2.1.2 2.2.0 2.2.1 2.2.2 2.2.3 2.3.0 2.3.1 2.3.2 All 92 releases
← All changes | freemius/templates/debug/scheduled-crons.php +13 -2 2.3.0 → 8.1.0 View file →
@@ -12,8 +12,10 @@
12 12
13 13 $fs_options = FS_Options::instance( WP_FS__ACCOUNTS_OPTION_NAME, true );
14 14 $scheduled_crons = array();
15 15
16 + $is_fs_debug_page = ( isset( $VARS['is_fs_debug_page'] ) && $VARS['is_fs_debug_page'] );
17 +
16 18 $module_types = array(
17 19 WP_FS__MODULE_TYPE_PLUGIN,
18 20 WP_FS__MODULE_TYPE_THEME
19 21 );
@@ -18,9 +20,9 @@
18 20 WP_FS__MODULE_TYPE_THEME
19 21 );
20 22
21 23 foreach ( $module_types as $module_type ) {
22 - $modules = $fs_options->get_option( $module_type . 's' );
24 + $modules = fs_get_entities( $fs_options->get_option( $module_type . 's' ), FS_Plugin::get_class_name() );
23 25 if ( is_array( $modules ) && count( $modules ) > 0 ) {
24 26 foreach ( $modules as $slug => $data ) {
25 27 if ( WP_FS__MODULE_TYPE_THEME === $module_type ) {
26 28 $current_theme = wp_get_theme();
@@ -72,10 +74,19 @@
72 74 }
73 75
74 76 $sec_text = fs_text_x_inline( 'sec', 'seconds' );
75 77 ?>
78 +<?php if ( $is_fs_debug_page ) : ?>
79 +<h2>
80 + <button class="fs-debug-table-toggle-button" aria-expanded="true">
81 + <span class="fs-debug-table-toggle-icon">▼</span>
82 + </button>
83 + <?php fs_esc_html_echo_inline( 'Scheduled Crons' ) ?>
84 +</h2>
85 +<?php else : ?>
76 86 <h1><?php fs_esc_html_echo_inline( 'Scheduled Crons' ) ?></h1>
77 -<table class="widefat">
87 +<?php endif ?>
88 +<table class="widefat fs-debug-table">
78 89 <thead>
79 90 <tr>
80 91 <th><?php fs_esc_html_echo_inline( 'Slug' ) ?></th>
81 92 <th><?php fs_esc_html_echo_inline( 'Module' ) ?></th>