learndash_show_profile_link

apply_filters( 'learndash_show_profile_link',  boolean $show_profile )

Filters whether to show the user profile link.


Description #


Parameters #

$show_profile

(boolean) Whether to show profile link.


Source #

File: themes/ld30/templates/shortcodes/profile.php


Examples #

 <?php
/**
 * Example usage for learndash_show_profile_link filter.
 */
add_filter(
	'learndash_show_profile_link',
	function( $show_profile ) {
		// May add any custom logic using $show_profile.

		// Always return $show_profile.
		return $show_profile;
	}
);