* @license : GPL2 * */ if (defined('ABSPATH') === false) { exit; } $days = [ "0" => "Everyday of week", "1" => "Sunday", "2" => "Monday", "3" => "Tuesday", "4" => "Wednesday", "5" => "Thursday", "6" => "Friday", "7" => "Saturday", "8" => "Sunday to Thursday", "9" => "Monday to Friday", "10" => "Weekend", ]; $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"); } ?>
Display after seconds on the page
Display after % on page
Add Rule
">
Add Rule
">
0) { foreach ($customRules as $key => $rule) { ?>