{"id":660,"date":"2017-08-17T14:35:53","date_gmt":"2017-08-17T14:35:53","guid":{"rendered":"https:\/\/demos.welaunch.io\/helpdesk\/?post_type=faq&#038;p=660"},"modified":"2017-08-17T14:36:14","modified_gmt":"2017-08-17T14:36:14","slug":"capabilities-filter","status":"publish","type":"faq","link":"https:\/\/demos.welaunch.io\/wordpress-helpdesk\/docs\/faq\/capabilities-filter\/","title":{"rendered":"Capabilities Filter"},"content":{"rendered":"<p>When you want to modify the capability settings you can hook into the the following filters:<\/p>\n<p><strong>Agent Caps: wordpress_helpdesk_agent_caps<\/strong><\/p>\n<p>By default the agent caps are the following:<\/p>\n<pre>array(\r\n 'read',\r\n 'publish_tickets',\r\n 'edit_ticket',\r\n 'edit_tickets',\r\n 'edit_others_tickets',\r\n 'edit_published_tickets',\r\n 'delete_tickets',\r\n 'delete_others_tickets',\r\n 'delete_ticket',\r\n 'read_ticket',\r\n 'read_private_tickets',\r\n 'assign_ticket_status',\r\n 'assign_ticket_system',\r\n 'assign_ticket_type',\r\n\r\n'publish_faqs',\r\n 'edit_faq',\r\n 'edit_faqs',\r\n 'edit_others_faqs',\r\n 'edit_published_faqs',\r\n 'delete_faqs',\r\n 'delete_others_faqs',\r\n 'delete_faq',\r\n 'read_faq',\r\n 'read_private_faqs',\r\n 'assign_faq_topics',\r\n\r\n'publish_saved_replies',\r\n 'edit_saved_reply',\r\n 'edit_saved_replies',\r\n 'edit_others_saved_replies',\r\n 'edit_published_saved_replies',\r\n 'delete_saved_replies',\r\n 'delete_others_saved_replies',\r\n 'delete_saved_reply',\r\n 'read_saved_reply',\r\n 'read_private_saved_replies',\r\n 'assign_saved_reply_tags',\r\n );<\/pre>\n<p><strong>Reporter Caps: wordpress_helpdesk_repoter_caps<\/strong><\/p>\n<p>By default the reporter caps are the following:<\/p>\n<pre>array(\r\n 'read',\r\n 'read_ticket',\r\n );<\/pre>\n","protected":false},"author":1,"featured_media":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","product_cat":[],"class_list":["post-660","faq","type-faq","status-publish","hentry","faq_topics-filter-hooks"],"acf":[],"_links":{"self":[{"href":"https:\/\/demos.welaunch.io\/wordpress-helpdesk\/wp-json\/wp\/v2\/faq\/660","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/demos.welaunch.io\/wordpress-helpdesk\/wp-json\/wp\/v2\/faq"}],"about":[{"href":"https:\/\/demos.welaunch.io\/wordpress-helpdesk\/wp-json\/wp\/v2\/types\/faq"}],"author":[{"embeddable":true,"href":"https:\/\/demos.welaunch.io\/wordpress-helpdesk\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/demos.welaunch.io\/wordpress-helpdesk\/wp-json\/wp\/v2\/comments?post=660"}],"version-history":[{"count":2,"href":"https:\/\/demos.welaunch.io\/wordpress-helpdesk\/wp-json\/wp\/v2\/faq\/660\/revisions"}],"predecessor-version":[{"id":662,"href":"https:\/\/demos.welaunch.io\/wordpress-helpdesk\/wp-json\/wp\/v2\/faq\/660\/revisions\/662"}],"wp:attachment":[{"href":"https:\/\/demos.welaunch.io\/wordpress-helpdesk\/wp-json\/wp\/v2\/media?parent=660"}],"wp:term":[{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/demos.welaunch.io\/wordpress-helpdesk\/wp-json\/wp\/v2\/product_cat?post=660"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}