프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$instance | object | Instance of this class. |
메소드 | 설명 | |
---|---|---|
__construct ( ) | ||
auto_assignment_user_column ( array $columns ) : mixed | Add auto-assignment column in users table | |
auto_assignment_user_column_content ( mixed $value, string $column_name, integer $user_id ) : string | Add auto-assignment user column content | |
enable_assignment ( integer $user_id ) : void | Enable auto-assignment for new agents | |
get_instance ( ) : object | Return an instance of this class. | |
maybe_enable_assignment ( integer $user_id, array $old_data ) : void | Maybe enable auto assignment for this user | |
profile_field_after_reply ( WP_User $user ) : void | User profile field "after reply" | |
profile_field_agent_department ( WP_User $user ) : void | User profile field "departments" | |
profile_field_smart_tickets_order ( WP_User $user ) : void | User profile field "tickets order" | |
profile_field_user_can_be_assigned ( WP_User $user ) : void | User profile field "can be assigned" | |
save_user_custom_fields ( integer $user_id ) : void | Save the user preferences. | |
user_profile_custom_fields ( WP_User $user ) : boolean | void | Add user preferences to the profile page. |
public auto_assignment_user_column ( array $columns ) : mixed | ||
$columns | array | |
리턴 | mixed |
public enable_assignment ( integer $user_id ) : void | ||
$user_id | integer | |
리턴 | void |
public static get_instance ( ) : object | ||
리턴 | object | A single instance of this class. |
public profile_field_after_reply ( WP_User $user ) : void | ||
$user | WP_User | |
리턴 | void |
public profile_field_agent_department ( WP_User $user ) : void | ||
$user | WP_User | |
리턴 | void |
public profile_field_smart_tickets_order ( WP_User $user ) : void | ||
$user | WP_User | |
리턴 | void |
public profile_field_user_can_be_assigned ( WP_User $user ) : void | ||
$user | WP_User | |
리턴 | void |
public save_user_custom_fields ( integer $user_id ) : void | ||
$user_id | integer | ID of the user to modify |
리턴 | void |
public user_profile_custom_fields ( WP_User $user ) : boolean | void | ||
$user | WP_User | |
리턴 | boolean | void |