Need snippet to render back-end page in the front-end of a voucher plugin - Wordpress Solution
[Solved] - Need snippet to render back-end page in the front-end of a voucher plugin - Wordpress Solution |
---|
Try following codes |
I'm using a pdf voucher plugin.
Would like to render exact same page (info) and 2 button functionalities.
I need php snippet to insert to my custom page.
Please let me know if you can help. Thanks.
Solution - 1Good morning, We need some more info. We would need to see which function is generating this info and then create a shortcode to show it in the front-end. Solution - 2Hello add this code to your functions.php function rem_coupon_table(){ global $current_user; ob_start(); //Create an instance of our package class... $WooPurchasedVouListTable = new WOO_Vou_List(); //Fetch, prepare, sort, and filter our data... $WooPurchasedVouListTable->prepare_items(); ?> '.__("Voucher code deleted successfully.",'woovoucher').' |
Date: 2022-10-21 04:52:41 |
Category: Wordpress |