Feature request for adding flexibility for the get_tip() function in admin calendar.
Currently, we are hacking the plugin “woocommerce bookings > includes/admin/class-wc-bookings-calendar.php” to add this filter in replacing with the default return.
//—– plugin code
return esc_attr( $return );
//—– replace above code with this code
return apply_filters( ‘woocommerce_admin_calendar_tool_tip’, esc_attr( $return ), $booking );
The filter allows us to display booking information to inside tooltip that way admin can directly view the booking information by hovering over the booking item.
Open
Last updated: September 24, 2018
0 comments
Log in to comment on this feature request.