Example filters and actions for Woo Bookings Calendar Pro: * Tell the plugin to use bootstrap tooltip: add_filter('wbc_use_bootstrap_tooltip', '__return_true'); * Tell the plugin to use bootstrap modal: add_filter('wbc_use_bootstrap_modal', '__return_true'); * Change generated HTML shortcode for Calendar: add_filter('wbc_shortcode_html', function($html){ $html .= '
'; return $html; }); * Change or add new information in description tooltip: add_filter('wbc_tooltip_description', function($html, $post){ // append the product thumbnail to tooltip $product = wc_get_product($post); $image_id = $product->get_image_id(); $image_url = wp_get_attachment_image_url( $image_id, 'thumbnail' ); $html = sprintf('', $image_url) . '
' . $html; // append the vendor name to tooltip (Dokan marketplace) $vendor_id = get_post_field( 'post_author', $post->ID ); $store_info = dokan_get_store_info( $vendor_id ); // Get the store data $store_name = $store_info['store_name']; // Get the store name $html .= "
Vendor: {$store_name}"; return $html; }, 10, 2);