403Webshell
Server IP : 3.93.235.159  /  Your IP : 216.73.216.140
Web Server : Apache
System : Linux ip-172-26-0-169 5.10.0-46-cloud-amd64 #1 SMP Debian 5.10.262-1 (2026-07-31) x86_64
User : bitnami ( 1000)
PHP Version : 8.2.9
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /bitnami/wordpress/wp-content/plugins/send-app/core/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /bitnami/wordpress/wp-content/plugins/send-app/core/utils.php
<?php

namespace Send_App\Core;

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly
}

class Utils {
	public static function prefix_by_env( string $option_name ): string {
		if ( defined( 'ELEMENTOR_SEND_DEV_ENV' ) ) {
			return ELEMENTOR_SEND_DEV_ENV . '_' . $option_name;
		}

		return $option_name;
	}

	public static function get_current_host(): string {
		return home_url();
	}

	public static function get_admin_menu_slug(): string {
		return 'send-app';
	}

	public static function get_page_url( $post_id ): string {
		$page_url = \get_permalink( $post_id );

		if ( empty( $page_url ) ) {
			return '';
		}

		return \wp_parse_url( $page_url, PHP_URL_PATH );
	}

	public static function debug_on(): bool {
		return defined( 'WP_DEBUG' ) && WP_DEBUG;
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit