bp_current_action()
Return the name of the current action.
Description Description
Return Return
(string) Action name.
Source Source
File: bp-core/bp-core-template.php
function bp_current_action() { $bp = buddypress(); $current_action = !empty( $bp->current_action ) ? $bp->current_action : ''; /** * Filters the name of the current action. * * @since 1.0.0 * * @param string $current_action Current action. */ return apply_filters( 'bp_current_action', $current_action ); }
Changelog Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |