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


Top ↑

Return Return

(mixed)


Top ↑

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;
	}

Top ↑

Changelog Changelog

Changelog
Version Description
6.3.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.