This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace SureCart\WordPress\Cache; | |
| /** | |
| * W3 Total Cache Service. | |
| */ | |
| class W3TotalCacheService extends CacheService { | |
| /** | |
| * Bootstrap the service. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace SureCart\WordPress\Cache; | |
| /** | |
| * LiteSpeed Cache Service. | |
| */ | |
| class LiteSpeedCacheService extends CacheService { | |
| /** | |
| * Bootstrap the service. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace SureCart\WordPress\Cache; | |
| /** | |
| * Abstract Cache Service. | |
| */ | |
| abstract class CacheService { | |
| /** | |
| * Bootstrap the service. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { useState, useEffect, useRef, useCallback } from "react"; | |
| import ArrowDownIcon from "../../../../IconComponents/ArrowDownIcon"; | |
| import ArrowUpIcon from "../../../../IconComponents/ArrowUpIcon"; | |
| import TabSelector from "../../../components/TabSelector"; | |
| import axios from "@utils/axios"; | |
| import { useForm } from "react-hook-form"; | |
| import { notifyError, notifySuccess } from "../../../components/Notification"; | |
| import CommentForm from "../../components/tools/CommentForm"; | |
| import TextEditorForCourse from "../../../../components/text-editor/text-editor-for-course"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @import url("https://fonts.googleapis.com/css2?family=Outfit:[email protected]&display=swap") | |
| layer(base); | |
| @import "tailwindcss"; | |
| @import 'bootstrap-icons/font/bootstrap-icons.css'; | |
| @custom-variant dark (&:is(.dark *)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace SureCart\Integrations\MemberPress; | |
| use SureCart\Integrations\Contracts\IntegrationInterface; | |
| use SureCart\Integrations\Contracts\PurchaseSyncInterface; | |
| use SureCart\Integrations\IntegrationService; | |
| use SureCart\Models\Purchase; | |
| use SureCart\Support\Currency; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { useState, useCallback } from 'react'; | |
| const ResizableHandler = ({ children }) => { | |
| const [width, setWidth] = useState('100%'); | |
| const [isResizing, setIsResizing] = useState(false); | |
| const [startX, setStartX] = useState(0); | |
| const startResizing = useCallback((event) => { | |
| setIsResizing(true); | |
| setStartX(event.clientX); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace SureCart\Integrations\Elementor\Widgets\Nested; | |
| if ( ! defined( 'ABSPATH' ) ) { | |
| exit; // Exit if accessed directly. | |
| } | |
| /** | |
| * Product widget. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| declare(strict_types=1); | |
| namespace App\Traits; | |
| use Exception; | |
| use Illuminate\Http\UploadedFile; | |
| use Illuminate\Support\Facades\Log; | |
| use Illuminate\Support\Str; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace App\Http\Controllers; | |
| use App\Models\Category; | |
| use App\Models\CodeExample; | |
| use App\Models\Course; | |
| use App\Models\CssCode; | |
| use App\Models\Developer; | |
| use App\Models\Page; | |
| use App\Models\Post; |
NewerOlder