theme-compatibility
7 years ago
tutor-general-functions.php
7 years ago
tutor-template-functions.php
7 years ago
tutor-template-hook.php
7 years ago
tutor-general-functions.php
25 lines
| 1 | <?php |
| 2 | |
| 3 | if ( ! defined( 'ABSPATH' ) ) |
| 4 | exit; |
| 5 | |
| 6 | /** |
| 7 | * Tutor general Functions |
| 8 | */ |
| 9 | |
| 10 | |
| 11 | if ( ! function_exists('tutor_withdrawal_methods')){ |
| 12 | function tutor_withdrawal_methods(){ |
| 13 | $withdraw = new \TUTOR\Withdraw(); |
| 14 | |
| 15 | return $withdraw->available_withdraw_methods; |
| 16 | } |
| 17 | } |
| 18 | |
| 19 | |
| 20 | if ( ! function_exists('tutor_placeholder_img_src')) { |
| 21 | function tutor_placeholder_img_src() { |
| 22 | $src = tutor()->url . 'assets/images/placeholder.jpg'; |
| 23 | return apply_filters( 'tutor_placeholder_img_src', $src ); |
| 24 | } |
| 25 | } |