Skip to content

Action: bricks_execute_filter_index_job

Runs before a query filter index job is executed. Bricks uses this point so integrations can prepare context, such as switching language, before indexing starts.

  • $job (array): The index job data that is about to be processed.
add_action( 'bricks_execute_filter_index_job', function( $job ) {
// Prepare integration context before this index job runs.
}, 10, 1 );