id ) { return; } printf( '

%s

', esc_html__( 'ScheduleReed Pro includes everything in ScheduleReed Free, so only one of them runs. You can delete ScheduleReed Free; your bookings and settings stay.', 'schedulereed' ) ); } ); return; } define( 'SCHEDULEREED_VERSION', '1.0.0' ); define( 'SCHEDULEREED_FILE', __FILE__ ); define( 'SCHEDULEREED_DIR', plugin_dir_path( __FILE__ ) ); if ( file_exists( SCHEDULEREED_DIR . 'vendor/autoload.php' ) ) { require_once SCHEDULEREED_DIR . 'vendor/autoload.php'; } else { // Release builds ship without Composer; fall back to a PSR-4 loader for src/. spl_autoload_register( static function ( string $class_name ): void { if ( ! str_starts_with( $class_name, 'ScheduleReed\\' ) ) { return; } $path = SCHEDULEREED_DIR . 'src/' . str_replace( '\\', '/', substr( $class_name, strlen( 'ScheduleReed\\' ) ) ) . '.php'; if ( is_readable( $path ) ) { require_once $path; } } ); } register_activation_hook( __FILE__, array( \ScheduleReed\Install\Installer::class, 'activate' ) ); register_deactivation_hook( __FILE__, array( \ScheduleReed\Install\Installer::class, 'deactivate' ) ); \ScheduleReed\Plugin::instance()->boot();