Room Helper Functions
The helper you can use to create, delete, get and update Room details in the company.
function add_room($room) {.....}
Supported hooks
// The filter callback function is based on the filter.
add_filter( ‘before_add_room’, ‘before_room_tax_callback_fun’, 10, 1 );
function before_add_room_callback_fun($room) {
// code
}// The filter callback function is based on the filter.
add_filter( ‘should_add_room’, ‘should_add_room_callback_fun’, 10, 1 );
function should_add_room_callback_fun($room) {
// code
}Param
Type
Required
Default
Description
function get_room($room_id) {....}
Supported hooks
Param
Type
Required
Default
Description
function get_rooms($filter) {.....}
Param
Type
Required
Default
Description
function update_room($room, $room_id) {....}
Param
Type
Required
Default
Description
function delete_room($room_id) {.....}
Param
Type
Required
Default
Description
Last updated