Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: register_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
278  * Returns the URL that allows the user to register on the site.
279  *
280  * @since 3.6.0
281  * @uses site_url() To generate the registration URL.
282  * @uses apply_filters() calls 'register_url' hook on final URL.
283  *
284  * @return string
285  */
286 function wp_registration_url() {
287      return apply_filters( 'register_url', site_url( 'wp-login.php?action=register', 'login' ) );
288 }
289
290 /**
291  * Provides a simple login form for use anywhere within WordPress. By default, it echoes
292  * the HTML immediately. Pass array('echo'=>false) to return the string instead.
293  *
294  * @since 3.0.0
295  * @param array $args Configuration options to modify the form output.
296  * @return string|null String when retrieving, null when displaying.