Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/12/2015 12:49:36 AM (11 years ago)
Author:
tw2113
Message:

First pass at BP-Core docs cleanup.

See #6398.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/bp-core-catchuri.php

    r9914 r10012  
    370370 *
    371371 * @param array $templates Array of templates to attempt to load.
     372 *
    372373 * @return bool|null Returns false on failure.
    373374 */
     
    518519 * @since BuddyPress (1.5.0)
    519520 *
    520  * @param array $args {
    521  *     @type int $mode Specifies the destination of the redirect. 1 will
    522  *           direct to the root domain (home page), which assumes you have a
    523  *           log-in form there; 2 directs to wp-login.php. Default: 2.
    524  *     @type string $redirect The URL the user will be redirected to after
    525  *           successfully logging in. Default: the URL originally requested.
    526  *     @type string $root The root URL of the site, used in case of error or
    527  *           mode 1 redirects. Default: the value of {@link bp_get_root_domain()}.
    528  *     @type string $message An error message to display to the user on the
    529  *           log-in page. Default: "You must log in to access the page you
    530  *           requested."
     521 * @param array|string $args {
     522 *     @type int    $mode     Specifies the destination of the redirect. 1 will
     523 *                            direct to the root domain (home page), which assumes you have a
     524 *                            log-in form there; 2 directs to wp-login.php. Default: 2.
     525 *     @type string $redirect The URL the user will be redirected to after successfully
     526 *                            logging in. Default: the URL originally requested.
     527 *     @type string $root     The root URL of the site, used in case of error or mode 1 redirects.
     528 *                            Default: the value of {@link bp_get_root_domain()}.
     529 *     @type string $message  An error message to display to the user on the log-in page.
     530 *                            Default: "You must log in to access the page you requested."
    531531 * }
    532532 */
     
    606606 * @since BuddyPress (1.5.0)
    607607 *
    608  * @global $error Error message to pass to wp-login.php
     608 * @global string $error Error message to pass to wp-login.php.
    609609 */
    610610function bp_core_no_access_wp_login_error() {
     
    716716 *     Optional array of arguments.
    717717 *     @type bool $include_query_args Whether to include current URL arguments
    718  *           in the canonical URL returned from the function.
     718 *                                    in the canonical URL returned from the function.
    719719 * }
     720 *
    720721 * @return string Canonical URL for the current page.
    721722 */
Note: See TracChangeset for help on using the changeset viewer.