Reorganize and add statistics post types

This commit is contained in:
ThemeBoy
2013-11-25 23:29:04 +11:00
parent 3d492f4d80
commit 7aeec083b8
24 changed files with 330 additions and 89 deletions

8
sportspress-hooks.php Normal file
View File

@@ -0,0 +1,8 @@
<?php
// Flush rewrite rules on activation to make sure permalinks work properly
function sp_rewrite_flush() {
sp_team_cpt_init();
flush_rewrite_rules();
}
register_activation_hook( __FILE__, 'sp_rewrite_flush' );
?>