Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function register_role_custom(){ ?>
- <?php
- if (isset($_GET['role'])){
- $customRole = $_GET['role'];
- }
- else{
- $customRole = $_POST['role'];
- }
- ?>
- <input id="role" type="hidden" tabindex="0" size="0" value= "<?php echo $customRole;?>" name="role"/>
- <?php
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement