get_admin_url [ WordPress Function ]
get_admin_url ( $blog_id = null, $path = '', $scheme = 'admin' )
| Parameters: |
|
| Returns: |
|
| Defined at: |
|
Retrieve the url to the admin area for a given site.
Source
<?php
function get_admin_url( $blog_id = null, $path = '', $scheme = 'admin' ) {
$url = get_site_url($blog_id, 'wp-admin/', $scheme);
if ( !empty($path) && is_string($path) && strpos($path, '..') === false )
$url .= ltrim($path, '/');
return apply_filters('admin_url', $url, $path, $blog_id);
}
?>
Examples [ wp-snippets.com ]
Google Arama Sonuçlarý
- Function Reference/get admin url « WordPress Codex
Description. Retrieve the url to the admin area for a given site. Usage. <?php get_admin_url( $blog_id, $path, $scheme ); ?> Parameters. $blog_id: (int) ...
codex.wordpress.org - WordPress › Support » how to get admin url? get_site_url?
I have an uploader in my theme that had worked pretty good, however it has a hardcoded path I'd like to work on //If no errors registred, redirect back to the ...
wordpress.org - get_admin_url (WordPress Function) - WPSeek.com
Feb 9, 2010 ... WordPress lookup for get_admin_url, a WordPress Function. wpseek.com is a WordPress-centric search tool for developers and theme ...
wpseek.com - get_admin_url | A HitchHackers guide through WordPress
Feb 11, 2011 ... function get_admin_url( $blog_id = null, $path = '', $scheme = 'admin' ) { $url = get_site_url($blog_id, 'wp-admin/', $scheme); if ( !empty($path) ...
hitchhackerguide.com