Created
October 11, 2023 08:53
-
-
Save raftaar1191/2e896c5d13148700a57f67c1faf722ea to your computer and use it in GitHub Desktop.
Change/Update place holder of the login input of BuddyBoss login page
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 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