Get Bricks

Action: bricks/query/after_loop

If you are creating a custom query loop or a custom plugin, you might want to perform some additional tasks like setting/resetting specific data after the loop runs. (@since 1.7.2)

// Perform certain action after the loop of query element oklvcq
add_action( 'bricks/query/after_loop', function( $query, $args ) {
  if ( $query->element_id !== 'oklvcq' ) {
  // $args is an array of the element settings
  // Perform your own logic here

}, 10, 2 );