wpbc_set_booking_approved action not working | WordPress.org

[ad_1]

I am trying to use the wpbc_set_booking_approved action inside my active theme’s function.php. For example when writing this inside functions.php does not change the booking with that ID:

do_action('wpbc_set_booking_approved', array("booking_id" => 16), array("after_action_result" => true));

I am using the free version of the plugin, is it only available on the paid versions?

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer