Mailchimp Banner Promo Product Page | Q3 2024

added by Mahrie for July $1 promo - product page specific link to Mailchimp pricing

Klarna Payments Q3 2024 banner

Added by Russell Langley in Partner Marketing

Product Icon

Amazon S3 Storage for WooCommerce

Serve digital products via Amazon S3

Hide the access keys from the db

It is not the best to save my keys in my db also withut encryption.

Change your function this way:
public static function get_settings() {
$settings = wp_parse_args(
get_option( ‘woo_amazon_s3_storage’, array() ),
array(
‘amazon_access_key’ => ”,
‘amazon_access_secret’ => ”,
‘amazon_url_period’ => ”,
‘force_redirect’ => ‘no’,
‘default_bucket’ => ”,
‘default_region’ => ”,
)
);

if( defined( ‘WOO_AWS_KEY’ ) ) $settings[ ‘amazon_access_key’ ] = WOO_AWS_KEY;
if( defined( ‘WOO_AWS_SECRET’ ) ) $settings[ ‘amazon_access_secret’ ] = WOO_AWS_KEY;

return $settings;
}

They can be stored in th wp-config hidden.

It is quick and option improvement

Author

GITS Web

Current Status

Open

Last updated: March 8, 2024

0 comments

Log in to comment on this feature request.