<img src="<?php 
echo userpro_url;
?>
admin/images/loading.gif" alt="" class="upadmin-load-inline" />
			
			<input type="hidden" name="type" id="type" value="register" />
			
			<div class="upadmin-errors">
			
			</div>
			
		</td>
	</tr>
	
</table>

<h3><?php 
_e('Existing Register Redirects', 'userpro');
?>
</h3>

<div id="register_redirects" class="upadmin-redirects">
	<table class="wp-list-table widefat fixed">
		<?php 
echo userpro_rd_list_redirects('register');
?>
	</table>
</div>

</form>
Exemplo n.º 2
0
function userpro_remove_redirect()
{
    extract($_POST);
    $output = '';
    if (!$key) {
        $key = (int) 0;
    }
    $redirects = get_option('userpro_redirects_' . $type);
    unset($redirects[$key]);
    update_option('userpro_redirects_' . $type, $redirects);
    $output['html'] = userpro_rd_list_redirects($type);
    $output = json_encode($output);
    if (is_array($output)) {
        print_r($output);
    } else {
        echo $output;
    }
    die;
}
Exemplo n.º 3
0
			
			<img src="<?php 
echo userpro_url;
?>
admin/images/loading.gif" alt="" class="upadmin-load-inline" />
			
			<input type="hidden" name="type" id="type" value="login" />
			
			<div class="upadmin-errors">
			
			</div>
			
		</td>
	</tr>
	
</table>

<h3><?php 
_e('Existing Login Redirects', 'userpro');
?>
</h3>

<div id="login_redirects" class="upadmin-redirects">
	<table class="wp-list-table widefat fixed">
		<?php 
echo userpro_rd_list_redirects('login');
?>
	</table>
</div>

</form>