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/schedules/settings/ |
Upload File : |
<?php defined( 'ABSPATH' ) or die( 'Cheatin’ uh?' ); $this->set_current_section( 'scanners' ); $this->add_section( __( 'Scanners', 'secupress' ) ); $this->add_field( array( 'name' => $this->get_field_name( 'scheduled' ), 'type' => 'scheduled_scan', 'row_class' => 'secupress-schedule-message-field', ) ); /** Translators: use %d, nothing else. */ $label_before = __( 'Every %d days', 'secupress' ); $label_before = explode( '%d', $label_before ); $label_after = $label_before[1]; $label_before = $label_before[0]; $this->add_field( array( 'title' => __( 'Frequency', 'secupress' ), 'label_for' => $this->get_field_name( 'periodicity' ), 'type' => 'number', 'label_before' => $label_before, 'label_after' => $label_after, 'attributes' => array( 'min' => 0, 'max' => 7, ), 'helpers' => array( array( 'type' => 'help', 'description' => sprintf( __( 'Maximum %d days.', 'secupress' ), 7 ), ), ), ) ); $this->add_field( array( 'title' => __( 'Notification of result', 'secupress' ), 'description' => __( 'When finished, a notification will be sent to the following email address (optional).', 'secupress' ), 'label' => __( 'Email' ), 'label_for' => $this->get_field_name( 'email' ), 'type' => 'email', 'default' => secupress_get_module_option( $this->get_field_name( 'periodicity' ), '', $this->modulenow ) ? '' : wp_get_current_user()->user_email, ) );