PluginProbe
Visualizer – Tables & Charts Manager with Built-in AI Generator / 3.0.0
Visualizer – Tables & Charts Manager with Built-in AI Generator v3.0.0
4.0.8 4.0.7 4.0.6 4.0.5 4.0.4 4.0.3 3.0.5 3.0.6 3.0.7 3.0.8 3.0.9 3.1.0 3.1.1 3.1.2 3.1.3 3.10.0 3.10.1 3.10.10 3.10.11 3.10.12 3.10.13 3.10.14 3.10.15 3.10.2 3.10.3 All 149 releases
← All changes | classes/Visualizer/Module/Admin.php +0 -23 3.0.53.0.0 View file →
@@ -59,31 +59,8 @@
59 59 $this->_addFilter( 'media_view_strings', 'setupMediaViewStrings' );
60 60 $this->_addFilter( 'plugin_action_links', 'getPluginActionLinks', 10, 2 );
61 61 $this->_addFilter( 'visualizer_logger_data', 'getLoggerData' );
62 62 $this->_addFilter( 'visualizer_get_chart_counts', 'getChartCountsByTypeAndMeta' );
63 - $this->_addFilter( 'visualizer_feedback_review_trigger', 'feedbackReviewTrigger' );
64 - }
65 -
66 - /**
67 - * Whether to show the feedback review or not.
68 - *
69 - * @access public
70 - */
71 - public function feedbackReviewTrigger( $dumb ) {
72 - $query = new WP_Query(
73 - array(
74 - 'posts_per_page' => 50,
75 - 'post_type' => Visualizer_Plugin::CPT_VISUALIZER,
76 - 'fields' => 'ids',
77 - 'update_post_meta_cache' => false,
78 - 'update_post_term_cache' => false,
79 - )
80 - );
81 -
82 - if ( $query->have_posts() && $query->post_count > 0 ) {
83 - return true;
84 - }
85 - return false;
86 63 }
87 64
88 65 /**
89 66 * Enqueues media scripts and styles.