• Resolved Sanjeev Aryal

    (@sanzeeb3)


    Hi – we’re using the filter hook "fluent_support/customer_extra_widgets" to add a new widget.

    add_filter( 'fluent_support/customer_extra_widgets', array( $this, 'add_widget' ), 10, 2 );

    public function add_widget( $widgets, $customer ) {

    // Need ticket id or mailbox id.
    return $widgets;
    }



    Is there anyway we can get the ticket ID or mailbox ID here of the currently opened ticket?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • +1 for this!

    Plugin Support Ahsan Chowdhury

    (@ahsannayem)

    Hello @sanzeeb3 ,

    Unfortunately, it’s not possible to directly retrieve the ticket ID or mailbox ID within the fluent_support/customer_extra_widgets filter. The filter doesn’t have direct access to the currently opened ticket, so those IDs aren’t available in this context.

    If you need to work with the ticket ID or mailbox ID, you might need to look for an alternative approach or consider some shorts of custom codes. In this case, you may hire a developer.

    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.