golden hour
/home/doctorbruno/.trash/insulingate2026.com/wp-content/plugins_old/post-views-counter/includes
⬆️ Go Up
Upload
File/Folder
Size
Actions
.htaccess
237 B
Del
OK
class-admin.php
5.7 KB
Del
OK
class-columns-modal.php
11.19 KB
Del
OK
class-columns.php
13.37 KB
Del
OK
class-counter.php
70.31 KB
Del
OK
class-crawler-detect.php
33.62 KB
Del
OK
class-cron.php
2.97 KB
Del
OK
class-dashboard.php
22.24 KB
Del
OK
class-emails-mailer.php
29.59 KB
Del
OK
class-emails-period.php
5.9 KB
Del
OK
class-emails-query.php
18.75 KB
Del
OK
class-emails-scheduler.php
6.38 KB
Del
OK
class-emails-template.php
60.77 KB
Del
OK
class-emails.php
4.08 KB
Del
OK
class-frontend.php
7.62 KB
Del
OK
class-functions.php
4.5 KB
Del
OK
class-import.php
54.36 KB
Del
OK
class-integration-gutenberg.php
7.82 KB
Del
OK
class-integrations.php
13.38 KB
Del
OK
class-query.php
17.83 KB
Del
OK
class-settings-api.php
42.72 KB
Del
OK
class-settings-display.php
18.46 KB
Del
OK
class-settings-emails.php
29.43 KB
Del
OK
class-settings-general.php
29.12 KB
Del
OK
class-settings-integrations.php
3.3 KB
Del
OK
class-settings-other.php
16.59 KB
Del
OK
class-settings-reports.php
1.91 KB
Del
OK
class-settings.php
36.85 KB
Del
OK
class-toolbar.php
5.31 KB
Del
OK
class-traffic-signals.php
9.46 KB
Del
OK
class-update.php
11.49 KB
Del
OK
class-widgets.php
13.03 KB
Del
OK
functions.php
32.24 KB
Del
OK
Edit: class-settings-reports.php
<?php // exit if accessed directly if ( ! defined( 'ABSPATH' ) ) exit; /** * Post_Views_Counter_Settings_Reports class. * * @class Post_Views_Counter_Settings_Reports */ class Post_Views_Counter_Settings_Reports { private $pvc; /** * Class constructor. * * @return void */ public function __construct() { $this->pvc = Post_Views_Counter(); } /** * Get sections for reports tab. * * @return array */ public function get_sections() { return [ 'post_views_counter_reports_settings' => [ 'tab' => 'reports', 'callback' => [ $this, 'section_reports_placeholder' ] ] ]; } /** * Get fields for reports tab. * * @return array */ public function get_fields() { return []; } /** * Reports page placeholder. */ public function section_reports_placeholder() { echo ' <form action="#"> <div id="pvc-reports-placeholder"> <img id="pvc-reports-bg" src="' . esc_url( POST_VIEWS_COUNTER_URL ) . '/css/page-reports.png" alt="Post Views Counter - Reports" /> <div id="pvc-reports-upgrade"> <div id="pvc-reports-modal"> <h2>' . esc_html__( 'Display Reports and Export Views to CSV/XML', 'post-views-counter' ) . '</h2> <p>' . esc_html__( 'View detailed stats about the popularity of your content.', 'post-views-counter' ) . '</p> <p>' . esc_html__( 'Generate views reports in any date range you need.', 'post-views-counter' ) . '</p> <p>' . esc_html__( 'Export, download and share your website views data.', 'post-views-counter' ) . '</p> <p><a href="' . esc_url( $this->pvc->get_postviewscounter_url( '/upgrade/', 'button', 'upgrade-to-pro', 'reports-placeholder-upgrade-button', 'free' ) ) . '" class="button button-secondary button-hero pvc-button" target="_blank">' . esc_html__( 'Upgrade to Pro', 'post-views-counter' ) . '</a></p> </div> </div> </div> </form>'; } }
Save