/** * Collects statistical data for displayed posts. * * @return void */ function appthemes_collect_stats() { if (!current_theme_supports('app-stats')) { return false; } APP_Post_Statistics::collect_stats(); }