diff options
Diffstat (limited to 'functions.php')
| -rw-r--r-- | functions.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/functions.php b/functions.php index 361ece6..0b7d369 100644 --- a/functions.php +++ b/functions.php @@ -7,6 +7,10 @@ function get_faces(){ return json_decode( file_get_contents( __DIR__ . '/views/tools/faces/faces.json' ), true ); } +function get_dances(){ + return json_decode( file_get_contents( __DIR__ . '/views/tools/bpm/dances.json' ), true ); +} + function str_starts_with( $haystack, $needle ) { $length = strlen( $needle ); return substr( $haystack, 0, $length ) === $needle; |
