Class Wcap_Activate_Plugin
It will add the cron job, and create the tables and the options needed for plugin.
Package: Abandoned-Cart-Pro-for-WooCommerce\Admin\Activate-plugin
Author: Tyche Softwares
Since: 5.0
Located at includes/wcap_activate_plugin.php
Author: Tyche Softwares
Since: 5.0
Located at includes/wcap_activate_plugin.php
Methods summary
public static
|
#
wcap_create_cron_job( )
It will create the cron job needed for the abandoned cart reminder emails. |
public static
array
|
#
wcap_add_cron_schedule( array $schedules )
It will create the cron job interval. Default value will be 15 minutes. If customer has changed the cron job interval time from the settings then it will be considered. |
public static
|
#
wcap_schedule_cron_job( )
It will check if the next cron job has been scheduled or not. It will be recurring event that will check that next cron job has been set or not. If it is not set then it will set it. |
public static
|
|
public static
|
#
wcap_add_atc_data( )
It will add all the default setting required for the ATC modal when we install the plugin. |