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: Pantheon Terminus Deploy to Members Branch | |
| # Controls when the action will run. | |
| on: | |
| push: | |
| branches: | |
| - 'members' | |
| jobs: | |
| build: |
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
| h1 { | |
| margin: 0 8px 16px; | |
| font-size: 3.625rem; | |
| line-height: 64px; | |
| color: #fff; | |
| letter-spacing: 2px; | |
| font-weight: 900; | |
| -webkit-text-stroke: 2px; | |
| -webkit-text-stroke-color: #000; | |
| text-shadow: -1p |
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
| terminus auth:login --machine-token={your_machine_token} | |
| terminus wp {sitename}.{env} -- user update {userID} --user_pass={enterStrongPassword} |
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
| /** | |
| * Add Custom Variable | |
| */ | |
| add_action( 'fue_before_variable_replacements', 'fue_register_variable_replacements', 10, 4); | |
| function fue_register_variable_replacements( $var, $email_data, $fue_email, $queue_item ) { | |
| $variables = array( | |
| 'tracking_number' => '' | |
| ); |
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 fue_register_variable_replacements( $var, $email_data, $fue_email, $queue_item ) { | |
| $variables = array( | |
| 'tracking_number' => '' | |
| ); | |
| if ( isset( $email_data['test'] ) && $email_data['test'] ) { | |
| $tracking = get_post_meta( $order_id, '_wc_acof_2', true ); | |
| $variables['tracking_number'] = "$tracking"; |
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
| terminus remote:wp reebokfp.checkout -- post delete $(terminus remote:wp reebokfp.checkout -- post list --post_type=shop_order --format=ids) --force |
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 | |
| if ( ! defined( 'ABSPATH' ) ) { | |
| exit; // Exit if accessed directly | |
| } | |
| do_action( 'cfw_thank_you_before_main_container', $order ); ?> | |
| <main id="cfw" class="<?php echo cfw_main_container_classes( 'thank-you' ); ?>"> | |
| <?php do_action( 'cfw_thank_you_main_container_start', $order ); ?> | |
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 | |
| /** | |
| * The base configuration for WordPress | |
| * | |
| * The wp-config.php creation script uses this file during the | |
| * installation. You don't have to use the web site, you can | |
| * copy this file to "wp-config.php" and fill in the values. | |
| * |
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
| <!-- | |
| 88""Yb 88 db dP""b8 88 dP 88 88 Yb dP 888888 .dP"Y8 8b d8 db 888888 888888 888888 88""Yb | |
| 88__dP 88 dPYb dP `" 88odP 88 88 Yb dP 88__ `Ybo." 88b d88 dPYb 88 88 88__ 88__dP | |
| 88""Yb 88 .o dP__Yb Yb 88"Yb 88 .o 88 YbdP 88"" o.`Y8b 88YbdP88 dP__Yb 88 88 88"" 88"Yb | |
| 88oodP 88ood8 dP""""Yb YboodP 88 Yb 88ood8 88 YP 888888 8bodP' 88 YY 88 dP""""Yb 88 88 888888 88 Yb | |
| --> |
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 // Do not include this line. | |
| $post_id = get_the_ID(); // Set post ID var. | |
| if ( Elementor\Plugin::instance()->db->is_built_with_elementor( $post_id ) ) { | |
| echo 'fuck yeah it is!'; | |
| } |