function the_bot_views($text_views = null, $display = true, $always = false) { if ($always || WP_PVP::should_views_display()) { global $post; $post_views = (int) get_post_meta($post->ID, WP_PVP::$post_meta_botviews, true); if ($display) { echo wp_pvp_count_replace(WP_PVP::$options['bot_template'], 'bot', $post->ID, $post_views); } else { return $post_views; } } return false; }