facetwp_filtered_post_ids

Overview

Override the final bucket of post IDs, after filtering has been applied.

Parameters

    • $post_ids | array | An array of post IDs
    • $class | object | The FacetWP_Renderer class (see /includes/class-renderer.php)

Usage

add_filter( 'facetwp_filtered_post_ids', function( $post_ids, $class ) {
    return $post_ids;
}, 10, 2 );

More examples

See Also

facetwp_pre_filtered_post_ids