Fetch Tool Data by Task ID

// Author: Sumaiya, Clikcup Doc: https://app.clickup.com/36636088/v/dc/12y1dr-22535/12y1dr-24515 // Add action for fetching tool data add_action(‘wp_ajax_fetch_tool_data’, ‘fetch_tool_data’); add_action(‘wp_ajax_nopriv_fetch_tool_data’, ‘fetch_tool_data’); // For non-logged in users /** * Fetch tool data based on the provided task ID. * * @param string $task_id The task…Continue reading

save-selected-pickup-point log ( Mihai )

add_filter(‘rest_request_before_callbacks’, function($response, $handler, $request) { try { // Check if the request method and route match if ($request->get_method() === ‘POST’ && $request->get_route() === ‘/packeta/internal/checkout/save-selected-pickup-point’) { // Ensure the WC_Logger class exists before using it if (!class_exists(‘WC_Logger’)) { throw new Exception(‘WC_Logger…Continue reading