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/js/src/utils/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/verseaumee/maze/wp-content/plugins/reddit-for-woocommerce/js/src/utils/urls.js
/**
 * External dependencies
 */
import { getNewPath } from '@woocommerce/navigation';

export const pagePaths = {
	getStarted: '/reddit/start',
	onboarding: '/reddit/setup',
	settings: '/reddit/settings',
	dashboard: '/reddit/dashboard',
};

/**
 * Generates the URL for the "Get Started" page.
 *
 * @return {string} The constructed URL for the Get Started page.
 */
export const getGetStartedUrl = () => {
	return getNewPath( null, pagePaths.getStarted, null );
};

/**
 * Returns the onboarding URL by generating a new path using the onboarding page path.
 *
 * @return {string} The generated onboarding URL.
 */
export const getOnboardingUrl = () => {
	return getNewPath( null, pagePaths.onboarding, null );
};

/**
 * Generates the dashboard URL with optional query parameters.
 *
 * @param {Object|null} query - Optional query parameters to append to the URL.
 * @return {string} The constructed dashboard URL.
 */
export const getDashboardUrl = ( query = null ) => {
	return getNewPath( query, pagePaths.dashboard, null );
};

/**
 * Returns the URL path for the settings page.
 *
 * @return {string} The constructed settings page URL.
 */
export const getSettingsUrl = () => {
	return getNewPath( null, pagePaths.settings, null );
};

Youez - 2016 - github.com/yon3zu
LinuXploit