srikanth1122
New member
- Aug 25, 2019
- 3
- 0
- 1
I'm referring to the ones that do not come for free. For example, the WebhookIf you buy it, developer give you all add-ons for free in offer
Any know how can disable agent to cant change user profile ?
function spikerrbg_prevent_lp_agent_profile_edit() {
if (OsRouterHelper::get_request_param('route_name') == 'agents__update' && OsAuthHelper::is_agent_logged_in() &&
OsRouterHelper::get_request_param('return_format', 'html') == 'json') {
wp_send_json(['status' => LATEPOINT_STATUS_ERROR, 'message' => esc_html__('Not authorized to perform that action', 'latepoint')], 200);
exit;
}
}
add_action('latepoint_init', 'spikerrbg_prevent_lp_agent_profile_edit');
Haha, it's a global function. The responsible thing to do is make it as unique as possible. It was either spikerrbg_ or testbtg_Mate, really thanks im appreciated. Thanks so match.
Im edit agents_update whit customers__update cuz maby im not explain good and its work.
And this whit spikerrbg fuction its so funny![]()
Whit webhook zapier and gateway suppler, but need pay for free dont knowdoes anyone know how to integrate latepoint with whatsapp?