Done !
| Server IP : 54.36.91.62 / Your IP : 216.73.216.38 Web Server : Apache System : Linux webm008.cluster127.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 : awaywithxm ( 25098) PHP Version : 7.0.33 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/awaywithxm/www/wp-content/plugins/secupress/inc/modules/plugins-themes/settings/ |
Upload File : |
<?php defined( 'ABSPATH' ) or die( 'Cheatin’ uh?' ); $this->set_current_section( 'plugins_themes' ); $this->set_section_description( __( 'By using these protections, you can easily select the proper allowed actions to your plugins.', 'secupress' ) ); $this->add_section( __( 'Plugins Page', 'secupress' ) ); $plugin = $this->get_current_plugin(); $this->add_field( array( 'title' => __( 'Plugin installation', 'secupress' ), 'label_for' => $this->get_field_name( 'installation' ), 'plugin_activation' => true, 'type' => 'checkbox', 'value' => (int) secupress_is_submodule_active( 'plugins-themes', 'plugin-installation' ), 'label' => __( 'Yes, disable the installation of all new plugins', 'secupress' ), 'helpers' => array( array( 'type' => 'description', 'description' => __( 'Disable plugin upload.', 'secupress' ), ), ), ) ); $this->add_field( array( 'title' => __( 'Plugin activation', 'secupress' ), 'label_for' => $this->get_field_name( 'activation' ), 'plugin_activation' => true, 'type' => 'checkbox', 'value' => (int) secupress_is_submodule_active( 'plugins-themes', 'plugin-activation' ), 'label' => __( 'Yes, disable the activation action for every plugin', 'secupress' ), ) ); $this->add_field( array( 'title' => __( 'Plugin deactivation', 'secupress' ), 'label_for' => $this->get_field_name( 'deactivation' ), 'plugin_activation' => true, 'type' => 'checkbox', 'value' => (int) secupress_is_submodule_active( 'plugins-themes', 'plugin-deactivation' ), 'label' => __( 'Yes, disable the deactivation action for every plugin', 'secupress' ), ) ); $this->add_field( array( 'title' => __( 'Plugin deletion', 'secupress' ), 'label_for' => $this->get_field_name( 'deletion' ), 'plugin_activation' => true, 'type' => 'checkbox', 'value' => (int) secupress_is_submodule_active( 'plugins-themes', 'plugin-deletion' ), 'label' => __( 'Yes, disable the deletion action for every plugin', 'secupress' ), ) ); $main_field_name = $this->get_field_name( 'detect_bad_plugins' ); $this->add_field( array( 'title' => __( 'Detect Bad Plugins', 'secupress' ), 'description' => __( 'Works for any public plugin (premium and free).', 'secupress' ), 'plugin_activation' => true, 'label_for' => $main_field_name, 'type' => 'checkbox', 'value' => (int) secupress_is_submodule_active( 'plugins-themes', 'detect-bad-plugins' ), 'label' => __( 'Yes, enable the detection of plugin with known vulnerabilities', 'secupress' ), 'helpers' => array( array( 'type' => 'description', 'description' => __( 'Based on our Daily Security Monitoring, notices will be displayed for plugins newly detected as vulnerable.', 'secupress' ), ), ), ) );