This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*Add option to post review for edd purchased items - TH */ | |
add_action( 'edd_purchase_history_header_after', '__edd_post_review_th', 12 ); | |
function __edd_post_review_th() { | |
echo '<th class="edd-post-review-th">'. __('Reviews', 'edd') .'</th>'; | |
} // This part is working fine | |
/*Add option to post review for edd purchased items - TD */ | |
add_action( 'edd_purchase_history_row_end', '__edd_post_review_td', 12, 2 ); | |
function __edd_post_review_td( $payment_id, $purchase_data ) { | |
// As I'm getting payment id and not post id so I have no idea how to fetch |
NewerOlder