Activation
rtbiz_activation_redirectCalled when rtbiz is activated and redirect on this action.
Rtbiz
rtbiz_initrtbiz_init is very important hook plugin dependent on rtbiz are getting executed on rtbiz_init hook
example:
add_action('rtbiz_init', 'my_plugin'); function myplugin(){ $myplugin = new myplugin(); $myplugin->run(); }rtbiz_before_template_part@param $template_name @param $template_path @param $located @param $argsThis action is called before including template for rtbiz plugin.
rtbiz_after_template_part@param $template_name @param $template_path @param $located @param $argsThis action is called after including template for rtbiz plugin.
Dashboard
rtbiz_welcome_panel_addon_linkAction for other addons to add quick links for their plugins.
rtbiz_dashboard_add_meta_boxes@param $screen_idThis action is being used internally to specify which dashboard widget is to render next.
rtbiz_welcome_panelThis hook is used internally to display welcome widget of rtbiz.
rtbiz_after_dashboardThis action is called at the end of dashboard template.
Entity
rtbiz_entity_hooks``` php @param $entity // entity Object will be called with this action. Either contact or company ``` Entity action will be called with entity object.rtbiz_entity_meta_boxes@param $post_type // post type of entity object ie. contact or companyWill be called with meta boxes.
rtbiz_before_render_meta_fields@param $meta_fields // additional meta fields to be rendersCalled before rendering additional metabox.
rtbiz_after_render_meta_fields@param $post // Wp post for current object contact or company @param $post_type //post type of current object.rtbiz_print_metabox_js@param $post // Wp post for current object contact or company @param $post_type //post type of current object.To echo additional js if there any.
rtbiz_save_entity_meta@param $post // Wp post for current object contact or company @param $post_type //post type of current object. @param $obj // object of entity classTo save added additional metabox.
rtbiz_entity_manage_columns@param $column // column @param $post_id // post id of contact or company @param $obj // object of entity classTo mange custom column using wordpress hook
'manage_'.$post-type.'_posts_custom_column
Contact
rtbiz_before_delete_contact_acl_remove@param $contactid Post id of contact cpt being delete. @param $userid User id mapped with post id on contactBefore contact ACL remove
rtbiz_after_delete_contact_acl_remove@param $contactid //Post id of contact cpt being delete. @param $userid User // id mapped with post id on contactAfter contact ACL remove
after_delete_contact_acl_remove@param $contactid // Post id of contact cpt being delete. @param $userid User // id mapped with post id on contactAfter ACL Permission is removed.
before_delete_contact@param $contactid // Post id of contact cpt being delete. @param $userid User // id mapped with post id on contactBefore contact deleted from wordpress database and after ACL is removed this action will be called.