Browse: Home / Hooks /

learndash_user_groups_options_filter

This hook has been deprecated.

apply_filters_deprecated( 'learndash_user_groups_options_filter',  array $query_options_group,  string $post_type )

Filters user groups filter query arguments.


Description #


Parameters #

$query_options_group

(array) An array of user groups filter query arguments.

$post_type

(string) Post type to check.


Source #

File: includes/admin/classes-posts-listings/class-learndash-admin-users-listing.php


Examples #

 <?php
/**
 * Example usage for learndash_addon_tab_items_{$this->current_tab} filter.
 */
add_filter(
	'learndash_addon_tab_items_learndash',
	function( $tab_items ) {
		// May add any custom logic using $tab_items.

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

Changelog #

Changelog
Version Description
3.2.3 This hook has been deprecated.
2.5.0 Introduced.