Skip to content

Commit

Permalink
= 4.2.7.6 =
Browse files Browse the repository at this point in the history
~ Added: hook learn-press/user-item/html-expire-date-time
  • Loading branch information
tungnxt89 committed Dec 23, 2024
1 parent 66d6757 commit 219e6c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions inc/TemplateHooks/UserItem/UserItemBaseTemplate.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ public function html_expire_date_time( LP_User_Item $user_item, bool $has_time =
}

$content = Template::instance()->nest_elements( $html_wrapper, $expire_date_str );
$content = apply_filters( 'learn-press/user-item/html-expire-date-time', $content, $user_item, $has_time );
} catch ( Throwable $e ) {
error_log( __METHOD__ . ': ' . $e->getMessage() );
}
Expand Down

0 comments on commit 219e6c6

Please sign in to comment.