File "ActionScheduler_Schedule_Deprecated.php"
Full Path: /home/warrior1/public_html/languages/wp-content-20241001222009/plugins/mailpoet/vendor/woocommerce/action-scheduler/deprecated/ActionScheduler_Schedule_Deprecated.php
File size: 556 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
if (!defined('ABSPATH')) exit;
abstract class ActionScheduler_Schedule_Deprecated implements ActionScheduler_Schedule {
public function next( DateTime $after = null ) {
if ( empty( $after ) ) {
$return_value = $this->get_date();
$replacement_method = 'get_date()';
} else {
$return_value = $this->get_next( $after );
$replacement_method = 'get_next( $after )';
}
_deprecated_function( __METHOD__, '3.0.0', __CLASS__ . '::' . $replacement_method ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
return $return_value;
}
}