Changeset 2628397
- Timestamp:
- 11/12/2021 04:25:15 AM (4 years ago)
- Location:
- app360/trunk
- Files:
-
- 3 edited
-
app360.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
transaction.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
app360/trunk/app360.php
r2617543 r2628397 11 11 * Plugin URI: https://www.app360.my/ 12 12 * Description: App360 CRM allows the integration between WooCommerce and App360 13 * Version: 1.2. 813 * Version: 1.2.9 14 14 * Author: App360 15 15 * License: GPLv2 or later -
app360/trunk/readme.txt
r2617543 r2628397 4 4 Requires at least: 5.6 5 5 Tested up to: 5.8 6 Stable tag: 1.2. 86 Stable tag: 1.2.9 7 7 License: GPLv2 or later 8 8 … … 38 38 39 39 == Changelog == 40 = 1.2.9 = 41 *Release Date - 12 November 2021* 42 43 * feature | payment status checking button in admin order list 40 44 41 45 = 1.2.8 = -
app360/trunk/transaction.php
r2617577 r2628397 677 677 }; 678 678 679 add_action( 'manage_posts_extra_tablenav', 'app360_order_payment_check_button', 20, 1 ); 680 function app360_order_payment_check_button( $which ) { 681 global $pagenow, $typenow; 682 683 if ( 'shop_order' === $typenow && 'edit.php' === $pagenow && 'top' === $which ) { 684 var_dump('test');die; 685 ?> 686 <div class="alignleft actions custom"> 687 <button type="submit" name="payment_check" style="height:32px;" class="button" value="yes"><?php 688 echo __( 'Payment check', 'woocommerce' ); ?></button> 689 </div> 690 <?php 691 } 692 } 693 694 add_action( 'restrict_manage_posts', 'display_admin_shop_order_language_filter' ); 695 function display_admin_shop_order_language_filter() { 696 global $pagenow, $typenow; 697 698 if ( 'shop_order' === $typenow && 'edit.php' === $pagenow && 699 isset($_GET['payment_check']) && $_GET['payment_check'] === 'yes' ) { 700 app360_order_payment_check(); 701 } 702 } 703 679 704 function app360_order_payment_check(){ 680 705 $args = array(
Note: See TracChangeset
for help on using the changeset viewer.