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
name: Manipulate attachments (Item Compose) (1) | |
description: >- | |
Adds, gets, and removes attachments from a message or an appointment in | |
Compose mode. | |
host: OUTLOOK | |
api_set: {} | |
script: | |
content: > | |
// logo.png in base64 for testing |
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
name: Manipulate attachments (Item Compose) | |
description: >- | |
Adds, gets, and removes attachments from a message or an appointment in | |
Compose mode. | |
host: OUTLOOK | |
api_set: {} | |
script: | |
content: > | |
// logo.png in base64 for testing |
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
name: Manipulate attachments (Item Compose) | |
description: >- | |
Adds, gets, and removes attachments from a message or an appointment in | |
Compose mode. | |
host: OUTLOOK | |
api_set: {} | |
script: | |
content: > | |
// logo.png in base64 for testing |
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
name: Download a Base64 file. | |
description: Cross-client solution to download a base64 file for the user. | |
host: OUTLOOK | |
api_set: {} | |
script: | |
content: | | |
const test_base64_text_file = "VGhpcyBpcyBhIHRlc3QgdGV4dCBmaWxlLgo="; | |
const newFileName = "test_download_image.txt"; | |
$("#openWindow").click(openWindow); |
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
name: Download a Base64 file. | |
description: Cross-client solution to download a base64 file for the user. | |
host: OUTLOOK | |
api_set: {} | |
script: | |
content: | | |
const test_base64_text_file = "VGhpcyBpcyBhIHRlc3QgdGV4dCBmaWxlLgo="; | |
const newFileName = "test_download_image.txt"; | |
$("#run").click(run); |
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
Verifying my Blockstack ID is secured with the address 1HJ51oXWGKcK4g8pXWLrvXevvvhQztw1dp https://explorer.blockstack.org/address/1HJ51oXWGKcK4g8pXWLrvXevvvhQztw1dp |
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
Verifying my Blockstack ID is secured with the address 1HJ51oXWGKcK4g8pXWLrvXevvvhQztw1dp https://explorer.blockstack.org/address/1HJ51oXWGKcK4g8pXWLrvXevvvhQztw1dp |
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
// hooking woocommerce purchase to updating the users sub level | |
function woocommerce_subscription_update_hook($order_id = 0){ | |
$user_id = get_current_user_id(); | |
//get product slug from order_id | |
$order = new WC_Order( $order_id ); | |
$items = $order->get_items(); |
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
// hooking woocommerce purchase to updating the users sub level | |
function get_package_title_from_product_slug($product_slug) { | |
// fastest way is manual way... also shittiest way .. very fragile | |
//_log('getting package title for: -->' . $product_slug . '<--'); | |
$result = ''; | |
switch ($product_slug) { | |
case 'Agent - 1 Property Listing': |
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
// hooking woocommerce purchase to updating the users sub level | |
function get_package_title_from_product_slug($product_slug) { | |
// fastest way is manual way... also shittiest way .. very fragile | |
_log('getting package title for: ' + $product_slug); | |
switch ($product_slug) { | |
case 'agent-1-property': |