Filter: epwr_weight

apply_filters( 'epwr_weight', $weight, $formatted_args, $args ) → {float}

Filter search date weight

Parameters:
Name Type Description
$weight float

Current weight

$formatted_args array

Formatted Elasticsearch arguments

$args array

WP_Query arguments

Since:
  • 3.5.6
Source:
Returns:

New weight

Type
float