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/blueversion/wp-content/plugins/wpforms/src/Pro/AntiSpam/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/verseaumee/blueversion/wp-content/plugins/wpforms/src/Pro/AntiSpam/Helpers.php
<?php

namespace WPForms\Pro\AntiSpam;

/**
 * Class Helpers.
 *
 * @since 1.9.1
 */
class Helpers {

	/**
	 * Get the number of days to delete spam entries.
	 *
	 * @since 1.9.1
	 *
	 * @return int|false
	 * @noinspection PhpUndefinedConstantInspection
	 */
	public static function get_delete_spam_entries_days() {

		$last_n_days = defined( 'WPFORMS_DELETE_SPAM_ENTRIES' )
			? WPFORMS_DELETE_SPAM_ENTRIES
			: wpforms_setting( 'delete-spam-entries', 90 );
		$last_n_days = is_bool( $last_n_days ) ? $last_n_days : absint( $last_n_days );

		/**
		 * The $last_n_days variable can be boolean or integer.
		 *
		 * When false, then we do not delete spam entries.
		 * When true, then we delete entries for the last 90 days.
		 * When it is number, we take the number.
		 */
		return $last_n_days === true ? 90 : $last_n_days;
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit