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 | |
/* Dependencies.. */ | |
class Person { | |
public $sName; | |
protected $iAge; | |
private $mPhone; | |
public function talk() { ... } |
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 | |
/** | |
* ContainerBridge.php | |
* | |
* Copyright © 2005-2006, FileMaker, Inc. All rights reserved. | |
* NOTE: Use of this source code is subject to the terms of the FileMaker | |
* Software License which accompanies the code. Your use of this source code | |
* signifies your agreement to such license terms and conditions. Except as | |
* expressly granted in the Software License, no other copyright, patent, or | |
* other intellectual property license or right is granted, either expressly or |
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
// https://wokwi.com/projects/339048333809025620 | |
void setup() { | |
Serial.begin(9600); | |
} | |
int linearGuideLength = 100; | |
// A variable to determine if the system can receive configuration or not. | |
bool systemBusy = false; |
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 | |
... | |
// Add the following code to line 32 in file /woo-pacsoft-unifaun/src/class-wup-track-shipment.php | |
// This will ensure that the returned object is actually an object, and not a string that seems to be returned when using wc_get_order | |
$order = new \WC_Order( $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
brew unlink php && brew link php | |
brew services restart --all | |
composer global update | |
valet install |
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 | |
add_filter( 'woocommerce_product_tabs', 'ao_tabs' ); | |
function ao_tabs( $tabs ) { | |
foreach( $tabs as $sKey => $aTab ) { | |
if( $aTab['callback'] == 'comments_template' ) { | |
if( $sTransTitle = get_transient( 'product_' . get_queried_object_id( ) . '_review_count' ) ) { | |
$tabs[$sKey]['title'] = $sTitle; | |
} |
OlderNewer