mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
💡 Document use of “settings->set()” via comments
This commit is contained in:
parent
a13b8c03ff
commit
9f44657400
10 changed files with 25 additions and 1 deletions
|
@ -71,6 +71,7 @@ class LocalApmProductStatus extends ProductStatus {
|
|||
}
|
||||
}
|
||||
|
||||
// Settings used as a cache; `settings->set` is compatible with new UI.
|
||||
if ( $has_capability ) {
|
||||
$this->settings->set( self::SETTINGS_KEY, self::SETTINGS_VALUE_ENABLED );
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue