Skip to:
Content

BuddyPress.org

Changeset 9549


Ignore:
Timestamp:
02/24/2015 03:26:17 AM (7 years ago)
Author:
tw2113
Message:

Adds hooks documentation for bp-core-admin-slugs.php.

See #5940.

File:
1 edited

Legend:

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

    r9503 r9549  
    1414 * Renders the page mapping admin panel.
    1515 *
    16  * @since BuddyPress (1.6)
     16 * @since BuddyPress (1.6.0)
    1717 * @todo Use settings API
    1818 * @uses bp_core_admin_component_options()
     
    4545 *
    4646 * @package BuddyPress
    47  * @since BuddyPress (1.6)
     47 * @since BuddyPress (1.6.0)
    4848 * @todo Use settings API
    4949 */
     
    7373    /** Directory Display *****************************************************/
    7474
     75    /**
     76     * Filters the loaded components needing directory page association to a WordPress page.
     77     *
     78     * @since BuddyPress (1.5.0)
     79     *
     80     * @param array $directory_pages Array of available components to set associations for.
     81     */
    7582    $directory_pages = apply_filters( 'bp_directory_pages', $directory_pages );
    7683
     
    116123                <?php endforeach ?>
    117124
    118                 <?php do_action( 'bp_active_external_directories' ); ?>
     125                <?php
     126
     127                /**
     128                 * Fires after the display of default directories.
     129                 *
     130                 * Allows plugins to add their own directory associations.
     131                 *
     132                 * @since BuddyPress (1.5.0)
     133                 */
     134                do_action( 'bp_active_external_directories' ); ?>
    119135
    120136            </tbody>
     
    133149    );
    134150
     151    /**
     152     * Filters the default static pages for BuddyPress setup.
     153     *
     154     * @since BuddyPress (1.6.0)
     155     *
     156     * @param array $static_pages Array of static default static pages.
     157     */
    135158    $static_pages = apply_filters( 'bp_static_pages', $static_pages );
    136159
     
    175198                <?php endforeach ?>
    176199
    177                 <?php do_action( 'bp_active_external_pages' ); ?>
     200                <?php
     201
     202                /**
     203                 * Fires after the display of default static pages for BuddyPress setup.
     204                 *
     205                 * @since BuddyPress (1.5.0)
     206                 */
     207                do_action( 'bp_active_external_pages' ); ?>
    178208
    179209            </tbody>
     
    187217 * Handle saving of the BuddyPress slugs
    188218 *
    189  * @since BuddyPress (1.6)
     219 * @since BuddyPress (1.6.0)
    190220 * @todo Use settings API
    191221 */
Note: See TracChangeset for help on using the changeset viewer.