porter_filter_parsed_query

Type: Filter Location: includes/premium/filters/traits/trait-FilterParser.php:36

apply_filters( 'porter_filter_parsed_query', ... );

Description

Modify the value passed through this filter to customise PorterWP behaviour.

Parameters

Position
Variable
Description

1

$query

Description pending

2

$params

Description pending

Example

add_filter( 'porter_filter_parsed_query', function ( $value, $params ) {
    // Modify value here.
    return $value;
} );

Last updated