Browse: Home / Hooks /


apply_filters( 'learndash-assignment-list-columns',  array $columns )

Filters assignments listing columns. Used to add new or remove existing columns in the assignment table.

Description #

Parameters #


(array) An Array of columns keyed with column CSS class and label as value

Source #

File: themes/ld30/templates/assignment/listing.php

Examples #

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

 * Example usage for learndash-assignment-list-columns filter.
	function( $columns ) {
		// May add any custom logic using $columns.

		// Always return $columns.
		return $columns;

Changelog #

Version Description
3.0.0 Introduced.