Created
November 20, 2015 14:15
-
-
Save foxydot/b6c5fa786ce1bf82be77 to your computer and use it in GitHub Desktop.
short filter
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| add_filter('filter_allowed_sorting_columns','msdlab_sort_by_title_allowed'); | |
| function msdlab_sort_by_title_allowed($allowed){ | |
| $allowed[] = 'media_title'; | |
| return $allowed; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment