golden hour
/home/godaofbq/dev.oxygenhealthsystems.com/wp-content/plugins/sales-countdown-timer/includes
⬆️ Go Up
Upload
File/Folder
Size
Actions
3rd
-
Del
OK
countdown-style.php
9.81 KB
Del
OK
data.php
12.75 KB
Del
OK
define.php
2.05 KB
Del
OK
functions.php
1.59 KB
Del
OK
support.php
40.33 KB
Del
OK
Edit: define.php
<?php if ( ! defined( 'ABSPATH' ) ) { exit; } define( 'SALES_COUNTDOWN_TIMER_DIR', WP_PLUGIN_DIR . DIRECTORY_SEPARATOR . "sales-countdown-timer" . DIRECTORY_SEPARATOR ); define( 'SALES_COUNTDOWN_TIMER_ADMIN', SALES_COUNTDOWN_TIMER_DIR . "admin" . DIRECTORY_SEPARATOR ); define( 'SALES_COUNTDOWN_TIMER_FRONTEND', SALES_COUNTDOWN_TIMER_DIR . "frontend" . DIRECTORY_SEPARATOR ); define( 'SALES_COUNTDOWN_TIMER_LANGUAGES', SALES_COUNTDOWN_TIMER_DIR . "languages" . DIRECTORY_SEPARATOR ); define( 'SALES_COUNTDOWN_TIMER_INCLUDES', SALES_COUNTDOWN_TIMER_DIR . "includes" . DIRECTORY_SEPARATOR ); $plugin_url = plugins_url( 'sales-countdown-timer' ); //$plugin_url = plugins_url( '', __FILE__ ); $plugin_url = str_replace( '/includes', '', $plugin_url ); define( 'SALES_COUNTDOWN_TIMER_CSS', $plugin_url . "/css/" ); define( 'SALES_COUNTDOWN_TIMER_CSS_DIR', SALES_COUNTDOWN_TIMER_DIR . "css" . DIRECTORY_SEPARATOR ); define( 'SALES_COUNTDOWN_TIMER_JS', $plugin_url . "/js/" ); define( 'SALES_COUNTDOWN_TIMER_JS_DIR', SALES_COUNTDOWN_TIMER_DIR . "js" . DIRECTORY_SEPARATOR ); define( 'SALES_COUNTDOWN_TIMER_IMAGES', WP_PLUGIN_URL . "/sales-countdown-timer/images/" ); /*Include functions file*/ if ( is_file( SALES_COUNTDOWN_TIMER_INCLUDES . "functions.php" ) ) { require_once SALES_COUNTDOWN_TIMER_INCLUDES . "functions.php"; } if ( is_file( SALES_COUNTDOWN_TIMER_INCLUDES . "data.php" ) ) { require_once SALES_COUNTDOWN_TIMER_INCLUDES . "data.php"; } if ( is_file( SALES_COUNTDOWN_TIMER_INCLUDES . "support.php" ) ) { require_once SALES_COUNTDOWN_TIMER_INCLUDES . "support.php"; } if ( is_file( SALES_COUNTDOWN_TIMER_INCLUDES . "countdown-style.php" ) ) { require_once SALES_COUNTDOWN_TIMER_INCLUDES . "countdown-style.php"; } if ( is_file( SALES_COUNTDOWN_TIMER_INCLUDES . '3rd/elementor/elementor.php' ) ) { require_once SALES_COUNTDOWN_TIMER_INCLUDES . '3rd/elementor/elementor.php'; } vi_include_folder( SALES_COUNTDOWN_TIMER_ADMIN, 'SALES_COUNTDOWN_TIMER_Admin_' ); vi_include_folder( SALES_COUNTDOWN_TIMER_FRONTEND, 'SALES_COUNTDOWN_TIMER_Frontend_' );
Save