| Server IP : 173.209.174.21 / Your IP : 216.73.216.89 Web Server : Apache/2.4.58 (Ubuntu) System : Linux wcfs-server 6.8.0-124-generic #124-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 13:00:45 UTC 2026 x86_64 User : nodor ( 1000) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/thelittlebigshow/wp-content/plugins/robo-gallery/includes/extensions/stats/ |
Upload File : |
<?php
/*
* Robo Gallery
* Version: 1.0
* By Robosoft
*
* Contact: https://robosoft.co/robogallery/
* Created: 2015
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
*
* Copyright (c) 2014-2019, Robosoft. All rights reserved.
* Available only in https://robosoft.co/robogallery/
*/
if ( ! defined( 'WPINC' ) ) exit;
if(!function_exists('rbs_gallery_stats_init')){
function rbs_gallery_stats_init(){
rbs_gallery_include('stats.class.php', plugin_dir_path( __FILE__ ) );
//echo plugin_dir_path( __FILE__ );
new ROBO_GALLERY_STATS( ROBO_GALLERY_TYPE_POST );
}
add_action( 'init', 'rbs_gallery_stats_init' );
}
if(!function_exists('robo_gallery_stats_submenu_page')){
add_action('admin_menu', 'robo_gallery_stats_submenu_page');
function robo_gallery_stats_submenu_page() {
add_submenu_page( 'edit.php?post_type=robo_gallery_table', 'Statistics', 'Statistics', 'manage_options', 'robo-gallery-stats', 'robo_gallery_stats_submenu_page_render' );
}
function robo_gallery_stats_submenu_page_render(){
rbs_gallery_include('stats.form.php', plugin_dir_path( __FILE__ ));
}
}
add_filter('removable_query_args', 'robo_gallery_clear_result', 10, 1);
function robo_gallery_clear_result( $removable_query_args ){
$removable_query_args[] = 'clearStat';
return $removable_query_args;
}