Not sure for a long term solution! Please note that this solution is not the proper solution for your needs! Since you need to modify the file every time when there is a new update for wp-car-manager. But you can always block auto updates if you want. And if you’re fine with it that you need to change it every time after a update that this is the easy quick solution to get what you need.
You can simply change the code yourself for the time being.
\wp-content\plugins\wp-car-manager\src\Vehicle\Data.php
Search for:
public static function get_conditions() {
return apply_filters( 'wpcm_conditions', array(
'new' => __( 'New', 'wp-car-manager' ),
'used' => __( 'Used', 'wp-car-manager' )
) );
}
Replace with:
public static function get_conditions() {
return apply_filters( 'wpcm_conditions', array(
'new' => __( 'New', 'wp-car-manager' ),
'used' => __( 'Used', 'wp-car-manager' ),
'classic' => __( 'Classic', 'wp-car-manager' ),
'0km' => __( '0KM', 'wp-car-manager' )
) );
}
-
This reply was modified 6 years, 11 months ago by Patrick.
-
This reply was modified 6 years, 11 months ago by Patrick.