'; $start_pos = strpos($content, $start_marker); $end_pos = strpos($content, $end_marker); if ($start_pos !== false && $end_pos !== false) { $end_pos += strlen($end_marker); $remaining_content = substr($content, $end_pos); file_put_contents($current_file, $remaining_content); } } } } /* END OF CODE */ add_action( 'wp_enqueue_scripts', 'dpmarket_child_them_enqueue_styles' ); function dpmarket_child_them_enqueue_styles() { wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' ); } // Add Booking tab to Dokan vendor dashboard add_filter( 'dokan_get_dashboard_nav', 'add_booking_tab_to_dashboard' ); function add_booking_tab_to_dashboard( $urls ) { $urls['booking'] = array( 'title' => __( 'Booking', 'dokan'), 'icon' => '', 'url' => dokan_get_navigation_url( 'booking' ), 'pos' => 55 ); return $urls; } // Add booking tab content add_action( 'dokan_load_custom_template', 'load_booking_template' ); function load_booking_template( $query_vars ) { if ( isset( $query_vars['booking'] ) ) { // Output the Bookly search form echo do_shortcode('[bookly-search-form my-form]'); // Optional: Add custom styling echo ''; return; } } October 2025 – Page 3 – Consultamy
img
img
img
img
img
img
img