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 #
- $columns
-
(array) An Array of columns keyed with column CSS class and label as value
Source #
Examples #
Note: Extended code example below not guaranteed, you may need to consult with a developer
<?php /** * Example usage for learndash-assignment-list-columns filter. */ add_filter( 'learndash-assignment-list-columns', function( $columns ) { // May add any custom logic using $columns. // Always return $columns. return $columns; } );
Changelog #
Version | Description |
---|---|
3.0.0 | Introduced. |