bp_current_item()
Return the name of the current item.
Description Description
Return Return
(string|bool)
Source Source
File: bp-core/bp-core-template.php
function bp_current_item() { $bp = buddypress(); $current_item = !empty( $bp->current_item ) ? $bp->current_item : false; /** * Filters the name of the current item. * * @since 1.1.0 * * @param string|bool $current_item Current item if available or false. */ return apply_filters( 'bp_current_item', $current_item ); }
Changelog Changelog
Version | Description |
---|---|
1.1.0 | Introduced. |