This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Handler subscription related e-mail | |
| * | |
| * @package TutorPro\Subscription | |
| * @author Themeum <support@themeum.com> | |
| * @link https://themeum.com | |
| * @since 3.0.0 | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Set complete earning | |
| * Hooked via action sejoli/order/set-status/completed, priority 1999 | |
| * @param array $order_data | |
| */ | |
| public function set_complete_earning( array $order_data ) { | |
| $order_id = $order_data['ID']; | |
| sejoli_jv_update_earning_status( $order_id, 'added' ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <IfModule mod_rewrite.c> | |
| RewriteEngine On | |
| RewriteRule ^(.*)$ public/$1 [L] | |
| </IfModule> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "cart_hash": "015a1c9f83e5a462db8763f38c5d1e07", | |
| "cart_key": "1", | |
| "currency": { | |
| "currency_code": "IDR", | |
| "currency_symbol": "Rp", | |
| "currency_symbol_pos": "currency_prefix", | |
| "currency_minor_unit": 0, | |
| "currency_decimal_separator": ",", | |
| "currency_thousand_separator": ".", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // This overrides woocommerce | |
| if ( ! defined( 'ABSPATH' ) ) { | |
| exit; | |
| } | |
| // add_action( 'after_setup_theme', 'bt_checkout_editor_loaded' ); | |
| function bt_checkout_editor_loaded() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * BP Nouveau messages editor toolbar | |
| * | |
| * This template can be overridden by copying it to yourtheme/buddypress/messages/parts/bp-messages-formatting-toolbar.php. | |
| * | |
| * @since BuddyBoss 2.1.4 | |
| * @version 1.0.0 | |
| */ | |
| ?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| function kirim($v, $x, $y, $z) { | |
| $curl = curl_init(); | |
| curl_setopt_array($curl, [ | |
| CURLOPT_URL => "https://send.api.mailtrap.io/api/send", | |
| CURLOPT_RETURNTRANSFER => true, | |
| CURLOPT_ENCODING => "", | |
| CURLOPT_MAXREDIRS => 10, | |
| CURLOPT_TIMEOUT => 30, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Form builder class | |
| */ | |
| // If this file is called directly, abort. | |
| if ( ! defined( 'WPINC' ) ) { | |
| die; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function get_kirim_email_list() | |
| { | |
| require '../vendor/autoload.php'; | |
| require '../config/database.php'; | |
| $user_id = $_SESSION['user_id']; | |
| $user = \SI\Model\User::whereId($user_id)->first(); | |
| $api_token = $user->api_kirimemail; | |
| $username = $user->user_kirimemail; | |
| $base_url = 'https://api.kirim.email/v3/list?nolimit=true'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| function get_latest_update($request) { | |
| $id = 'ID FILE LICENSE'; | |
| $purchase_code = sanitize_text_field($request->get_param('purchase_code')); | |
| $host = sanitize_text_field($request->get_param('host')); | |
| $item = get_post(salesloo_get_item_by_license_id($id)); | |
| $package = get_post_meta($item->ID, 'package', true); | |
| return new \WP_REST_Response([ | |
| 'name' => $item->post_title, |
NewerOlder