pop_posts_obj->prepare_items( $args ); $this->pop_posts_obj->display(); ?>

__( 'Popular Posts', 'top-10' ), 'default' => 20, 'option' => 'pop_posts_per_page', ); add_screen_option( $option, $args ); $this->pop_posts_obj = new Top_Ten_Network_Statistics_Table(); } /** Singleton instance */ public static function get_instance() { if ( ! isset( self::$instance ) ) { self::$instance = new self(); } return self::$instance; } } /** * Function to initialise stats page. * * @since 2.4.2 */ function tptn_network_stats_page() { Top_Ten_Statistics::get_instance(); } add_action( 'plugins_loaded', 'tptn_network_stats_page' );