Skip to content

Commit

Permalink
= 4.2.6.9.3 =
Browse files Browse the repository at this point in the history
  • Loading branch information
tungnxt89 committed Jul 27, 2024
1 parent eef41e9 commit 6365090
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions inc/templates/class-lp-template-course.php
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,6 @@ public function course_purchase_button( $course = null ) {
$can_show = false;
}

// Hook since 4.2.6.9.3
$can_show = apply_filters( 'learn-press/course/template/button-purchase/can-show', $can_show, $can_purchase, $user, $course );
// Hook since 4.1.3
$can_show = apply_filters( 'learnpress/course/template/button-purchase/can-show', $can_show, $user, $course );
if ( ! $can_show ) {
Expand Down

0 comments on commit 6365090

Please sign in to comment.