Skip to content

Instantly share code, notes, and snippets.

@raftaar1191
Created October 11, 2023 08:53
Show Gist options
  • Save raftaar1191/2e896c5d13148700a57f67c1faf722ea to your computer and use it in GitHub Desktop.
Save raftaar1191/2e896c5d13148700a57f67c1faf722ea to your computer and use it in GitHub Desktop.
Change/Update place holder of the login input of BuddyBoss login page
/**
* Update the place holder into the login page
*/
function acrosswp_custom_bb_login_head_callback() {
?>
<script>
jQuery( document ).ready( function ($) {
jQuery( 'form#loginform #user_login' ).attr( 'placeholder', "Custom Email" );
});
</script>
<?php
}
add_action( 'login_head', 'acrosswp_custom_bb_login_head_callback', 1000 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment