→ 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_Facet class and all properties (see /includes/class-facet.php)

Usage

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