Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sbrajesh/af392760417e2b85fe08 to your computer and use it in GitHub Desktop.
Save sbrajesh/af392760417e2b85fe08 to your computer and use it in GitHub Desktop.
function buddydev_ua_enable_everwhere( $load ) {
if ( ! is_user_logged_in() ) {
$load = true;
}
return $load;
}
add_filter( 'buddydev_username_availability_checker_load_assets', 'buddydev_ua_enable_everwhere');
function buddydev_ua_custom_selector( $selectors ) {
return $selectors . ', div.simplemodal-login-fields input.user_login';
}
add_filter( 'buddydev_uachecker_selectors', 'buddydev_ua_custom_selector');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment