* @license : GPL2
* */
if (defined('ABSPATH') === false) {
exit;
}
$days = [
"0" => esc_html__("Everyday of week", "chaty"),
"1" => esc_html__("Sunday", "chaty"),
"2" => esc_html__("Monday", "chaty"),
"3" => esc_html__("Tuesday", "chaty"),
"4" => esc_html__("Wednesday", "chaty"),
"5" => esc_html__("Thursday", "chaty"),
"6" => esc_html__("Friday", "chaty"),
"7" => esc_html__("Saturday", "chaty"),
"8" => esc_html__("Sunday to Thursday", "chaty"),
"9" => esc_html__("Monday to Friday", "chaty"),
"10" => esc_html__("Weekend", "chaty"),
];
$url_options = [
'home' => esc_html__("Homepage", "chaty"),
'page_contains' => esc_html__('Link that contain', "chaty"),
'page_has_url' => esc_html__('A specific link', "chaty"),
'page_start_with' => esc_html__('Links starting with', "chaty"),
'page_end_with' => esc_html__('Links ending with', "chaty"),
'wp_pages' => esc_html__('WordPress Pages', "chaty"),
'wp_posts' => esc_html__('WordPress Posts', "chaty"),
'wp_categories' => esc_html__('WordPress Categories', "chaty"),
'wp_tags' => esc_html__('WordPress Tags', "chaty")
];
$hasWooCommerce = 0;
if(is_plugin_active("woocommerce/woocommerce.php")) {
$hasWooCommerce = 1;
}
if($hasWooCommerce) {
$url_options['wc_products'] = esc_html__('WooCommerce products', "chaty");
$url_options['wc_products_on_sale'] = esc_html__('WooCommerce products on sale', "chaty");
}
?>