| @@ -3,9 +3,9 @@ | ||
| 3 | 3 | namespace WPCoder\Dashboard; |
| 4 | 4 | |
| 5 | 5 | defined( 'ABSPATH' ) || exit; |
| 6 | 6 | |
| 7 | -use WPCoder\WOW_Plugin; | |
| 7 | +use WPCoder\WPCoder; | |
| 8 | 8 | |
| 9 | 9 | class DashboardHelper { |
| 10 | 10 | |
| 11 | 11 | public static function first_file( $folder ) { |
| @@ -49,9 +49,9 @@ | ||
| 49 | 49 | |
| 50 | 50 | } |
| 51 | 51 | |
| 52 | 52 | public static function get_folder_path( $folder ): string { |
| 53 | - return WOW_Plugin::dir() . 'includes/' . $folder; | |
| 53 | + return WPCoder::dir() . 'includes/' . $folder; | |
| 54 | 54 | } |
| 55 | 55 | |
| 56 | 56 | public static function get_file( $current, $folder ) { |
| 57 | 57 | $files = scandir( self::get_folder_path( $folder ) ); |