Awesome Support Developer Documentation

wpas_can_agent_reply_frontend


Signature

apply_filters( 'wpas_can_agent_reply_frontend', $admins_allowed );

Typical Usage

Allow admins to post through front-end.

Warning: If you enable this filter option, there are some important side effects.  Most important is that replies from agents that go through the front-end might not trigger important hooks because the is_admin() function will return false.  Certain hooks in Awesome Support depend on this function returning TRUE!

Parameters

  • $admins_allowed: Boolean

Returns

  • Boolean

Located In

  • File: includes/functions-user.php
  • Function: wpas_can_reply_ticket

First Available

Version 2.0.0


More Topics In Filter Hooks

Share: