Object Sync for Salesforce Code Documentation

Object_Sync_Sf_Deactivate

Object_Sync_Sf_Deactivate class.

Table of Contents

$action_group_suffix  : string
Suffix for group name in ActionScheduler
$file  : string
The main plugin file
$option_prefix  : string
The plugin's prefix when saving options to the database
$queue  : object
Object_Sync_Sf_Queue class
$schedulable_classes  : array<string|int, mixed>
Array of what classes in the plugin can be scheduled to occur with `wp_cron` events
$slug  : string
The plugin's slug so we can include it when necessary
$version  : string
Current version of the plugin
$wpdb  : object
Global object of `$wpdb`, the WordPress database
__construct()  : mixed
Constructor for deactivate class
clear_schedule()  : mixed
Clear the scheduled tasks This removes all the scheduled tasks that are included in the plugin's $schedulable_classes array
delete_log_post_type()  : mixed
Delete the log post type This removes the log post type
delete_plugin_options()  : mixed
Clear the plugin options
flush_plugin_cache()  : mixed
Flush the plugin cache
remove_roles_capabilities()  : mixed
Remove roles and capabilities This removes the configure_salesforce capability from the admin role
wordpress_salesforce_drop_tables()  : mixed
Drop database tables for Salesforce This removes the tables for fieldmaps (between types of objects) and object maps (between indidual instances of objects)

Properties

$schedulable_classes

Array of what classes in the plugin can be scheduled to occur with `wp_cron` events

public array<string|int, mixed> $schedulable_classes

Methods

clear_schedule()

Clear the scheduled tasks This removes all the scheduled tasks that are included in the plugin's $schedulable_classes array

public clear_schedule() : mixed
Return values
mixed

delete_log_post_type()

Delete the log post type This removes the log post type

public delete_log_post_type() : mixed
Return values
mixed

remove_roles_capabilities()

Remove roles and capabilities This removes the configure_salesforce capability from the admin role

public remove_roles_capabilities() : mixed

It also allows other plugins to remove the capability from other roles

Return values
mixed

wordpress_salesforce_drop_tables()

Drop database tables for Salesforce This removes the tables for fieldmaps (between types of objects) and object maps (between indidual instances of objects)

public wordpress_salesforce_drop_tables() : mixed
Return values
mixed

Search results