Skip to:
Content

BuddyPress.org

Changeset 10020


Ignore:
Timestamp:
07/19/2015 09:09:05 PM (9 years ago)
Author:
tw2113
Message:

Adds hooks documentation to new hooks for BuddyPress 2.4.0.

See #5943.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-groups/bp-groups-template.php

    r9969 r10020  
    47914791         * @since BuddyPress (1.1.0)
    47924792         *
    4793          * @param string $value Permalink for the previous step.
     4793         * @param string $url Permalink for the previous step.
    47944794         */
    47954795        return apply_filters( 'bp_get_group_creation_previous_link', $url );
     
    48354835
    48364836/**
    4837  * Is the user looking at the last step in the group creation process
     4837 * Is the user looking at the last step in the group creation process.
    48384838 *
    48394839 * @since BuddyPress (1.1.0)
     
    48574857    $retval = ( $l_step === $step );
    48584858
     4859    /**
     4860     * Filters whether or not user is looking at last step in group creation process.
     4861     *
     4862     * @since BuddyPress (2.4.0)
     4863     *
     4864     * @param bool   $retval Whether or not we are looking at last step.
     4865     * @param array  $steps  Array of steps from the group creation process.
     4866     * @param string $step   Step to compare.
     4867     */
    48594868    return (bool) apply_filters( 'bp_is_last_group_creation_step', $retval, $steps, $step );
    48604869}
     
    48834892    $retval = ( $f_step === $step );
    48844893
     4894    /**
     4895     * Filters whether or not user is looking at first step in group creation process.
     4896     *
     4897     * @since BuddyPress (2.4.0)
     4898     *
     4899     * @param bool   $retval Whether or not we are looking at first step.
     4900     * @param array  $steps  Array of steps from the group creation process.
     4901     * @param string $step   Step to compare.
     4902     */
    48854903    return (bool) apply_filters( 'bp_is_first_group_creation_step', $retval, $steps, $step );
    48864904}
Note: See TracChangeset for help on using the changeset viewer.