: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
* @copyright Copyright (c) 2023, Code Atlantic LLC
if ( ! defined( 'ABSPATH' ) ) {
public static function is_timestamp( $timestamp ) {
return ( 1 === preg_match( '~^[1-9][0-9]*$~', $timestamp ) );