You appear to be a bot. Output may be restricted
Description
Usage
$ActionScheduler_LogEntry = ActionScheduler_wpCommentLogger::get_entry( $entry_id );
Parameters
- $entry_id
- ( string ) required –
Returns
ActionScheduler_LogEntry
Source
File name: woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_wpCommentLogger.php
Lines:
1 to 10 of 10
public function get_entry( $entry_id ) { $comment = $this->get_comment( $entry_id ); if ( empty($comment) || $comment->comment_type != self::TYPE ) { return new ActionScheduler_NullLogEntry(); } $date = as_get_datetime_object( $comment->comment_date_gmt ); ActionScheduler_TimezoneHelper::set_local_timezone( $date ); return new ActionScheduler_LogEntry( $comment->comment_post_ID, $comment->comment_content, $date ); }