add date and time in log on starting processing new item

This commit is contained in:
vnmedeiros 2020-06-12 12:13:52 -03:00
parent 4a9a5db1ad
commit a1496a93f7
1 changed files with 1 additions and 0 deletions

View File

@ -895,6 +895,7 @@ abstract class Importer {
$author = $this->get_transient('author'); $author = $this->get_transient('author');
$this->add_log('---------------------------'); $this->add_log('---------------------------');
$this->add_log('Starting processing new item'); $this->add_log('Starting processing new item');
$this->add_log(date("Y-m-d H:i:s"));
$this->add_log('User in process: ' . $author); $this->add_log('User in process: ' . $author);
wp_set_current_user($author); wp_set_current_user($author);
$result = $this->$method_name(); $result = $this->$method_name();