ap_get_list_filters()
Description #
Get all list filters.
Source #
File: includes/theme.php
function ap_get_list_filters() { $param = array(); $search_q = get_query_var( 'ap_s' ); if ( ! empty( $search_q ) ) { $param['ap_s'] = $search_q; } $filters = array( 'order_by' => array( 'title' => __( 'Order By', 'anspress-question-answer' ), 'items' => array(), 'multiple' => false, ), ); /* * Filter question sorting. * @param array Question sortings. * @since 2.3 */ return apply_filters( 'ap_list_filters', $filters ); }
Expand full source code Collapse full source code View on GitHub: includes/theme.php:731
Add your comment