learndash_group_administration_course_info_atts

apply_filters( 'learndash_group_administration_course_info_atts',  array $atts,  WP_User|false $user )

Filters group admininstration course info attributes.


Description #


Parameters #

$atts

(array) An array of group admin course info attributes.

$user

(WP_User|false) User Object.


Source #

File: includes/admin/class-learndash-admin-groups-users-list.php


Examples #

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

		// Always return $atts.
		return $atts;
	},
	10,
	2
);
 

Changelog #

Changelog
Version Description
2.5.7 Introduced.