edit_profile_url filter-hook . WP 3.1.0
Filters the URL for a user's profile editor.
Usage
add_filter( 'edit_profile_url', 'filter_function_name_8417', 10, 3 ); function filter_function_name_8417( $url, $user_id, $scheme ){ // filter... return $url; }
- $url(string)
- The complete URL including scheme and path.
- $user_id(int)
- The user ID.
- $scheme(string)
- Scheme to give the URL context. Accepts 'http', 'https', 'login', 'login_post', 'admin', 'relative' or null.
Changelog
Since 3.1.0 | Introduced. |
Where the hook is called
edit_profile_url
wp-includes/link-template.php 3782
return apply_filters( 'edit_profile_url', $url, $user_id, $scheme );