HEX
Server: Apache
System: Linux webd006.cluster128.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: zwafgyp (177615)
PHP: 7.4.33
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/zwafgyp/lacalita/wp-content/plugins/rey-core/inc/compatibility/pitchprint/base.php
<?php
namespace ReyCore\Compatibility\Pitchprint;

if ( ! defined( 'ABSPATH' ) ) exit;

class Base extends \ReyCore\Compatibility\CompatibilityBase
{
	const ASSET_HANDLE = 'reycore-pitchprint';

	public function __construct()
	{
		add_action( 'wp_enqueue_scripts', [$this, 'load_scripts']);
	}

	public function load_scripts(){
		wp_enqueue_script(
			self::ASSET_HANDLE,
			self::get_path( basename( __DIR__ ) ) . '/script.js',
			[],
			REY_CORE_VERSION,
			true
		);
		if( function_exists('is_checkout') && is_checkout() ){
			wp_enqueue_script( 'wc-cart-fragments' );
		}
	}


}