[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@3.145.199.101: ~ $
<?php
/**
 * Jetpack Support.
 *
 * @package User Activity Log
 */

/*
 * Exit if accessed directly
 */
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}
add_action( 'jetpack_activate_module', 'ualp_jetpack_activate_module', 10, 2 );

if ( ! function_exists( 'ualp_get_jetpack_modules' ) ) {
	/**
	 * Get all jetpack modules.
	 */
	function ualp_get_jetpack_modules() {

		// Check that Jetpack has the needed methods.
		if ( ! method_exists( 'Jetpack', 'get_available_modules' ) || ! method_exists( 'Jetpack', 'get_module' ) ) {
			return false;
		}
		$available_modules           = Jetpack::get_available_modules();
		$available_modules_with_info = array();

		foreach ( $available_modules as $module_slug ) {
			$module = Jetpack::get_module( $module_slug );
			if ( ! $module ) {
				continue;
			}
			$available_modules_with_info[ $module_slug ] = $module;
		}
		return $available_modules_with_info;
	}
}

if ( ! function_exists( 'ualp_get_jetpack_module' ) ) {
	/**
	 * Get single jetpack modules.
	 *
	 * @param string $slug Slug.
	 */
	function ualp_get_jetpack_module( $slug = null ) {
		if ( empty( $slug ) ) {
			return false;
		}
		$modules = ualp_get_jetpack_modules();
		return isset( $modules[ $slug ] ) ? $modules[ $slug ] : false;
	}
}

if ( ! function_exists( 'ualp_jetpack_activate_module' ) ) {
	/**
	 * Store Jetpack Activate Module.
	 *
	 * @param string $module_slug Module Slug.
	 * @param string $success Success.
	 */
	function ualp_jetpack_activate_module( $module_slug = null, $success = null ) {
		if ( true !== $success ) {
			return;
		}
		$module = ualp_get_jetpack_module( $module_slug );
		if ( $module ) {
			$obj_type   = 'Activate Jetpack Module';
			$action     = $module_slug;
			$post_id    = '';
			$post_title = 'Activate Jetpack Module: ' . $module['name'];
			ual_get_activity_function( $action, $obj_type, $post_id, $post_title );
		}
	}
}

add_action( 'jetpack_deactivate_module', 'ualp_jetpack_deactivate_module', 10, 2 );

if ( ! function_exists( 'ualp_jetpack_deactivate_module' ) ) {
	/**
	 * Store Jetpack Deactivate Module.
	 *
	 * @param string $module_slug Module Slug.
	 * @param string $success Success.
	 */
	function ualp_jetpack_deactivate_module( $module_slug = null, $success = null ) {
		if ( true !== $success ) {
			return;
		}
		$module = ualp_get_jetpack_module( $module_slug );
		if ( $module ) {
			$obj_type   = 'Deactivate Jetpack Module';
			$action     = $module_slug;
			$post_id    = '';
			$post_title = '';
			$hook       = 'jetpack_deactivate_module';
			$post_title = 'Deactivate Jetpack Module: ' . $module['name'];
			ual_get_activity_function( $action, $obj_type, $post_id, $post_title );
		}
	}
}

Filemanager

Name Type Size Permission Actions
ual-bubbypress.php File 8.78 KB 0644
ual-duplicate-post.php File 1.79 KB 0644
ual-easy-digital-download.php File 6.23 KB 0644
ual-enable-media-replace.php File 1.4 KB 0644
ual-gravityform.php File 23.2 KB 0644
ual-jetpack.php File 2.61 KB 0644
ual-limit-login-attempts.php File 3.24 KB 0644
ual-redirection.php File 6.72 KB 0644
ual-user-switching.php File 2.39 KB 0644
ual-woocommerce.php File 14.13 KB 0644
ual-wordpress-seo.php File 20.27 KB 0644
ual-wp-crontrol.php File 3.76 KB 0644