• Resolved daneloctober

    (@daneloctober)


    Hi!

    I’m in the process of selecting a Support Ticket plugin for my client. I’m considering recommending the premium package of AwesomeSupport, but I would like to confirm if it’s possible to add a column to the tickets column that shows TICKET AGE. Kindly confirm if this is possible and how to implement it here? I know how to code so you can be as detailed as you like.

    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author awesomesupport

    (@awesomesupport)

    Hi:

    The file you would need to modify to add the column is class-admin-tickets-list.php.

    You can add the column in the function add_custom_fields(). Chances are you would want to add an action hook in there there and push that hook as PR on github. That way you can use that filter in your own plugin. If the PR is accepted then the next version of the plugin will not step on your changes there.

    You’ll also need to modify the add_custom_columns method in that class. Same idea – except you might want to use a filter on the return value and push that filter as a PR on github.

    You’ll also need to modify the custom_columns_content method in that class. Again, an action hook or filter in there that’s submitted as a PR on github would be the best way to make sure your changes are being stepped on in the next update.

    I hope this helps.

    Plugin Author awesomesupport

    (@awesomesupport)

    Hello:

    We never heard back from you on this so we’ll assume that your issue is resolved. If its not resolved, please open a new thread and reference this one.

    Thanks very much for using Awesome Support.

    Thread Starter daneloctober

    (@daneloctober)

    Hi,

    Could you let me know what variable contains the ticket age?… Sorry for the late response.

    Plugin Author awesomesupport

    (@awesomesupport)

    Hi:

    There is no pre-build variable that holds the ticket age. You have to calculate it yourself based on the ticket date.

    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Add Ticket Age Column’ is closed to new replies.