If you are willing to add another option as a Price Per option under the pricing category then  WP Travel plugin provides the feature regarding adding another option as a Price Per option under the pricing category using a filter code.

How to Add Room as Price Per Option Under Pricing Category?

To add another option as a Price Per option under the pricing category, please add the following filter given code in the functions.php file of your child theme.

function example_callback( $example ) {
    return  array(
        array(
            'label' => __( 'Person', 'wp-travel' ),
            'value' => 'person',
        ),
        array(
            'label' => __( 'Group', 'wp-travel' ),
            'value' => 'group',
        ),
        array(
            'label' => __( 'Example', 'wp-travel' ),
            'value' => 'example',
        )
    );
}
add_filter( 'wp_travel_trip_price_per', 'example_callback' );

For Example: As an example let’s add a Room as the pricing option.

To add a “Room” as a Price Per option under the pricing category, please add the following filter given code in the functions.php file of your child theme.

function example_callback( $example ) {
    return  array(
        array(
            'label' => __( 'Person', 'wp-travel' ),
            'value' => 'person',
        ),
        array(
            'label' => __( 'Group', 'wp-travel' ),
            'value' => 'group',
        ),
        array(
            'label' => __( 'Room', 'wp-travel' ),
            'value' => 'room',
        )
    );
}
add_filter( 'wp_travel_trip_price_per', 'example_callback' );

For detailed information regarding “how to create a child theme?”

Kindly, please refer to the Knowledge base to be clear more precisely,

After adding the Filter code:

How to Add Room as Price Per Option Under Pricing Category?

So, in this way, you can add another option as Price Per Option Under Pricing Category successfully

Also, if you want to learn more about the filter hook that is associated with the pricing, please refer specific hook page.

Recommended: WP Travel documentation to learn more about configurations, modules, payments, shortcodes, and WP Travel Rest API.

Further, if you liked this article, then subscribing to our YouTube Channel for WordPress video tutorials would be the cherry on top.

You can also find us on FacebookInstagram, Linkedin, TikTok, Pinterest, Reddit, and our dedicated engaging Facebook user community, for you everyone.

Additionally, if you have any queries, please submit them to our Contact page.

Get WP Travel Pro and start creating your travel and tour booking website within minutes without any hassle of coding.

You may find it useful:

How to display content under the trip price on the single trip page in WP Travel Plugin?

How to add multiple pricing categories in a single price in WP Travel Plugin?

How to add different prices for multiple categories in WP Travel Plugin?