PATH:
home
/
letacommog
/
rdvenunclick.fr1
/
wp-content
/
plugins
/
dokan-pro
/
includes
<?php namespace WeDevs\DokanPro; /** * Withdraw Fnctionality class * * @since 2.4 * * @author weDevs <info@wedevs.com> */ class Withdraws { /** * Constructor for the Dokan_Pro_Withdraws class * * Sets up all the appropriate hooks and actions * within our plugin. * * @return void */ function __construct() { add_filter( 'dokan_withdraw_methods', array( $this, 'load_withdraw_method' ), 10 ); } /** * Load withdraw method * * @since 2.4 * * @param array $methods * * @return array */ public function load_withdraw_method( $methods ) { $methods['skrill'] = array( 'title' => __( 'Skrill', 'dokan' ), 'callback' => array( $this, 'dokan_withdraw_method_skrill' ) ); return $methods; } /** * Callback for Skrill in store settings * * @since 2.4 * * @global WP_User $current_user * * @param array $store_settings * * @return void */ public function dokan_withdraw_method_skrill( $store_settings ) { global $current_user; $email = isset( $store_settings['payment']['skrill']['email'] ) ? esc_attr( $store_settings['payment']['skrill']['email'] ) : $current_user->user_email ; ?> <div class="dokan-form-group"> <div class="dokan-w8"> <div class="dokan-input-group"> <span class="dokan-input-group-addon"><?php _e( 'E-mail', 'dokan' ); ?></span> <input value="<?php echo $email; ?>" name="settings[skrill][email]" class="dokan-form-control email" placeholder="you@domain.com" type="text"> </div> </div> </div> <?php } }
[+]
..
[+]
REST
[-] StoreShare.php
[edit]
[+]
Abstracts
[-] Review.php
[edit]
[+]
Install
[+]
Refund
[+]
Admin
[-] Ajax.php
[edit]
[-] Assets.php
[edit]
[-] Reports.php
[edit]
[-] StoreSeo.php
[edit]
[-] function-orders.php
[edit]
[-] StoreListsFilter.php
[edit]
[+]
Emails
[-] functions-wc.php
[edit]
[+]
Shipping
[+]
Coupons
[-] StoreCategory.php
[edit]
[-] EmailVerification.php
[edit]
[+]
Upgrade
[-] Update.php
[edit]
[-] Withdraws.php
[edit]
[-] ProductSeo.php
[edit]
[-] functions-reports.php
[edit]
[-] Dashboard.php
[edit]
[-] Settings.php
[edit]
[-] Notice.php
[edit]
[+]
Brands
[-] Products.php
[edit]
[-] BlockEditorBlockTypes.php
[edit]
[+]
Widgets
[-] Module.php
[edit]
[-] Store.php
[edit]
[-] functions.php
[edit]
[+]
woo-views
[-] SocialLogin.php
[edit]