AnsPress_Ajax::load_filter_order_by()
Description #
Ajax callback for loading order by filter.
Source #
File: includes/ajax-hooks.php
public static function load_filter_order_by() { $filter = ap_sanitize_unslash( 'filter', 'r' ); check_ajax_referer( 'filter_' . $filter, '__nonce' ); ap_ajax_json( array( 'success' => true, 'multiple' => false, 'items' => ap_get_questions_orderby(), ) ); }
Expand full source code Collapse full source code View on GitHub: includes/ajax-hooks.php:495
Add your comment