Skip to content

Commit

Permalink
wpml filter for the form shortcode
Browse files Browse the repository at this point in the history
  • Loading branch information
picocodes committed Oct 25, 2023
1 parent 4fdf430 commit 0a4695c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions includes/wpinv-template-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -1228,6 +1228,7 @@ function wpinv_oxygen_fix_conflict() {
function getpaid_display_payment_form( $form ) {

if ( is_numeric( $form ) ) {
$form = apply_filters( 'wpml_object_id', $form, 'wpi_payment_form', true );
$form = new GetPaid_Payment_Form( $form );
}

Expand Down

0 comments on commit 0a4695c

Please sign in to comment.