porter_wp_config_filepath

Type: Filter Location: includes/traits/config.php:58

apply_filters( 'porter_wp_config_filepath', ... );

Description

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

Parameters

Position
Variable
Description

1

$filepath

Description pending

2

$file

Description pending

Example

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

Last updated