$instance
$instance : mixed
Private static variable to hold the single instance of the class.
Class MainWP_Client_Handler
instance() : \MainWP\Dashboard\MainWP_Client_Handler
Method instance()
Create a public static instance.
rest_api_add_client(array $data, boolean $edit = false) : mixed
Method rest_api_add_client().
Rest API add client.
array | $data | fields array. |
boolean | $edit | Is edit. $data fields. 'client_email'. 'name'. 'client_facebook'. 'client_twitter'. 'client_instagram'. 'client_linkedin'. 'address_1'. 'address_2'. 'city'. 'zip'. 'state'. 'note'. 'selected_sites'. 'client_id'. - to edit client. |
Error message.
Results.