Advertisement
Guest User

Untitled

a guest
Feb 5th, 2018
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.32 KB | None | 0 0
  1. <?php
  2. /**
  3. *
  4. * @ This file is created by http://DeZender.Net
  5. * @ deZender (PHP5 Decoder for ionCube Encoder)
  6. *
  7. * @ Version : 3.0.8.0
  8. * @ Author : DeZender
  9. * @ Release on : 25.09.2017
  10. * @ Official site : http://DeZender.Net
  11. *
  12. */
  13.  
  14. class woo_sozlesmeler
  15. {
  16. /**
  17. * Bootstraps the class and hooks required actions & filters.
  18. *
  19. */
  20. public static function init()
  21. {
  22. add_filter( 'woocommerce_settings_tabs_array', 'woo_sozlesmeler' . '::add_settings_tab', 50 );
  23. add_action( 'woocommerce_settings_tabs_mesafeli_satis_sozlesmesi', 'woo_sozlesmeler' . '::settings_tab' );
  24. add_action( 'woocommerce_update_options_mesafeli_satis_sozlesmesi', 'woo_sozlesmeler' . '::update_settings' );
  25. }
  26.  
  27. /**
  28. * Add a new settings tab to the WooCommerce settings tabs array.
  29. *
  30. * @param array $settings_tabs Array of WooCommerce setting tabs & their labels, excluding the Subscription tab.
  31. * @return array $settings_tabs Array of WooCommerce setting tabs & their labels, including the Subscription tab.
  32. */
  33. public static function add_settings_tab($settings_tabs)
  34. {
  35. $settings_tabs['mesafeli_satis_sozlesmesi'] = __( 'Wpmod Lisans', 'woocommerce-settings-tab-demo' );
  36. return $settings_tabs;
  37. ........................................................
  38. ................................
  39. ..............
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement