function count_users_wp() { //Get total no. of users count global $wpdb; $users_count = $wpdb->get_var("SELECT COUNT(ID) FROM {$wpdb->users}"); return $users_count; } function limit_users_register() { $count = apply_filters('limit_user_count',3); $users = count_users_wp(); if ($users >= $count) { //Check if total users exceeds update_option('users_can_register',0); //Disable registration }else{ update_option('users_can_register',2); //Enable registration } } add_action('user_register','limit_users_register'); function limit_user_register($option) { remove_filter('pre_option_users_can_register','limit_user_register'); $reg = get_option('users_can_register'); if (0 === $reg) { return 0; //break } $count = apply_filters('limit_user_count',50); $users = count_users_wp(); if ($users >= $count) { update_option('users_can_register',0); //Disable registration return 0; } else { update_option('users_can_register',1); //proceed to registration return $option; } } add_filter('pre_option_users_can_register','limit_user_register');

How the Tide Mill in Woodbridge was used to make techno music

A DJ made club new music by recording the machinery employed to generate flour.

Ben Osborne aimed to emulate techno and drum and bass songs motivated by the Tide Mill in Woodbridge, Suffolk.

Mr Osborne, from Woodbridge, said: “The strategy was to record the internal workings of the Tide Mill, which is a 300-12 months-outdated constructing, and flip them into a piece of tunes and visuals.”

A visualisation was also projected on to the outdoors of the mill as part of the challenge.

Next Post

PinkPantheress wins BBC Sound Of 2022

Thu Jan 13 , 2022
Related Posts:Issa Rae's Raedio aims to uplift women in music industry PinkPantheress, the 20-yr-outdated singer from Tub, has been named as this year’s winner of the BBC Seem Of poll. Just about every 12 months a panel of unbiased marketplace insiders vote on their predictions of who will make it […]