LLMS_Integration_Buddypress::return_true_on_bp_my_profile( mixed $arg = null )
Helper that returns true when on BuddyPress My Profile.
Parameters Parameters
- $arg
-
(mixed) (Optional) Argument to return when not on BuddyPress My Profile.
Default value: null
Return Return
(mixed)
Source Source
File: includes/integrations/class.llms.integration.buddypress.php
public function return_true_on_bp_my_profile( $arg = null ) { return bp_is_my_profile() ? true : $arg; }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
6.3.0 | Introduced. |