Move venue term functions into class
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
<?php
|
||||
function sportspress_current_screen() {
|
||||
$screen = get_current_screen();
|
||||
if ( $screen->id == 'dashboard' )
|
||||
include_once( dirname( SP_PLUGIN_FILE ) . '/admin/tools/dashboard.php' );
|
||||
}
|
||||
add_action( 'current_screen', 'sportspress_current_screen' );
|
||||
Reference in New Issue
Block a user