Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: edit_profile_url

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
3527       * Filters the URL for a user's profile editor.
3528       *
3529       * @since 3.1.0
3530       *
3531       * @param string $url     The complete URL including scheme and path.
3532       * @param int    $user_id The user ID.
3533       * @param string $scheme  Scheme to give the URL context. Accepts 'http', 'https', 'login',
3534       *                        'login_post', 'admin', 'relative' or null.
3535       */
3536      return apply_filters( 'edit_profile_url', $url, $user_id, $scheme);
3537 }
3539 /**
3540  * Returns the canonical URL for a post.
3541  *
3542  * When the post is the same as the current requested page the function will handle the
3543  * pagination arguments too.
3544  *
3545  * @since 4.6.0