Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

Require Acticvation and Deactivation files #12

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions wds-headless-core.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
define( 'WDS_HEADLESS_CORE_VERSION', '2.1.4' );
define( 'WDS_HEADLESS_CORE_OPTION_NAME', 'headless_config' );

require_once WDS_HEADLESS_CORE_PLUGIN_DIR . 'activation.php';
require_once WDS_HEADLESS_CORE_PLUGIN_DIR . 'deactivation.php';

// Register de/activation hooks.
register_activation_hook( __FILE__, __NAMESPACE__ . '\activation_callback' );
register_deactivation_hook( __FILE__, __NAMESPACE__ . '\deactivation_callback' );
Expand Down