summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorhorus2021-03-15 22:38:11 +0100
committerhorus2021-03-15 22:38:11 +0100
commit83fec0b53ae04e23948b981cf845ce0d476ba22a (patch)
treef1e804f09083408ef1771999ba3790cf59d8a597 /functions.php
parentf6db538536aa25b57ae8606d58e05739281cc8f0 (diff)
downloadmoehring-83fec0b53ae04e23948b981cf845ce0d476ba22a.tar.gz
Inline bpm / tanz
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php4
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;