From 83fec0b53ae04e23948b981cf845ce0d476ba22a Mon Sep 17 00:00:00 2001 From: horus Date: Mon, 15 Mar 2021 22:38:11 +0100 Subject: Inline bpm / tanz --- functions.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'functions.php') 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; -- cgit v1.2.3