Browse: Home / Hooks /

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 #

Note: Extended code example below not guaranteed, you may need to consult with a developer

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

Changelog #

Changelog
Version Description
2.5.8 Introduced.