Title: afoc's Replies | WordPress.org

---

# afoc

  [  ](https://wordpress.org/support/users/afoc/)

 *   [Profile](https://wordpress.org/support/users/afoc/)
 *   [Topics Started](https://wordpress.org/support/users/afoc/topics/)
 *   [Replies Created](https://wordpress.org/support/users/afoc/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/afoc/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/afoc/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/afoc/engagements/)
 *   [Favorites](https://wordpress.org/support/users/afoc/favorites/)

 Search replies:

## Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)

 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Zakra] Can’t change logo on Zakra Charity](https://wordpress.org/support/topic/cant-change-logo-on-zakra-charity/)
 *  Thread Starter [afoc](https://wordpress.org/support/users/afoc/)
 * (@afoc)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/cant-change-logo-on-zakra-charity/#post-13364093)
 * I’ve found the option through here: [https://wordpress.org/support/topic/how-to-remove-zakra-logo-and-edit-footer/](https://wordpress.org/support/topic/how-to-remove-zakra-logo-and-edit-footer/)
 * Unintuitive location.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Post SMTP – Complete Email Deliverability and SMTP Solution with Email Logs, Alerts, Backup SMTP & Mobile App] Enable global settings option keeps resetting in multisite](https://wordpress.org/support/topic/enable-global-settings-option-keeps-resetting-in-multisite/)
 *  Thread Starter [afoc](https://wordpress.org/support/users/afoc/)
 * (@afoc)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/enable-global-settings-option-keeps-resetting-in-multisite/#post-13070262)
 * For the record, I solved this issue by directly editing the part I pasted from`
   PostmanInstaller.php` to read `$options['post_smtp_global_settings'] = '1';` 
   instead of `post_smtp_allow_overwrite`. That way the default is the value I want
   regardless of whether or not it keeps resetting.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Post SMTP – Complete Email Deliverability and SMTP Solution with Email Logs, Alerts, Backup SMTP & Mobile App] Enable global settings option keeps resetting in multisite](https://wordpress.org/support/topic/enable-global-settings-option-keeps-resetting-in-multisite/)
 *  Thread Starter [afoc](https://wordpress.org/support/users/afoc/)
 * (@afoc)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/enable-global-settings-option-keeps-resetting-in-multisite/#post-13036815)
 * I’ve done some more digging into trying to figure out why this is happening. 
   Every ~5 minutes the network settings reset, I have watched this happen in the
   database, in the `wp_sitemeta` table, `postman_network_options` row.
 * The only thing I can think of is for some reason the plugin is re-running its
   installer as if it is being newly activated, because in `post-smtp/Postman/PostmanInstaller.
   php` the default setting it keeps resetting to is seen here:
 *     ```
       if ( function_exists( 'is_multisite' ) && is_multisite() ) {
         $options['post_smtp_allow_overwrite'] = '1';
         update_site_option( PostmanOptions::POSTMAN_NETWORK_OPTIONS, $options );
         .... 
       }
       ```
   
 * No other options are changed in the database except that one, and `post_smtp_global_settings`
   disappears from the database.
 * Regarding the dashboard, I noticed that “per-site mode’ is the only possible 
   display for that widget regardless of what state it is in. From `Postman/Postman-
   Controller/PostmanDashboardWidgetController.php`:
 *     ```
       /**
         * Create the function to output the contents of our Dashboard Widget.
       */
       public function printNetworkDashboardWidget() {
         printf ( '<p class="wp-menu-image dashicons-before dashicons-email"> %s</p>', __ ( 
          'Postman is operating in per-site mode.', Postman::TEXT_DOMAIN ) );
       }
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Post SMTP – Complete Email Deliverability and SMTP Solution with Email Logs, Alerts, Backup SMTP & Mobile App] Apply settings across entire multisite network](https://wordpress.org/support/topic/apply-settings-across-entire-multisite-network/)
 *  Thread Starter [afoc](https://wordpress.org/support/users/afoc/)
 * (@afoc)
 * [6 years ago](https://wordpress.org/support/topic/apply-settings-across-entire-multisite-network/#post-12740758)
 * Excellent, and thank you for the prompt response.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Shipping Live Rates and Access Points for UPS for WooCommerce] Set a minimum shipping cost](https://wordpress.org/support/topic/set-a-minimum-shipping-cost/)
 *  Thread Starter [afoc](https://wordpress.org/support/users/afoc/)
 * (@afoc)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/set-a-minimum-shipping-cost/#post-12517270)
 * Thanks [@dlim_vernier](https://wordpress.org/support/users/dlim_vernier/), that
   was helpful.
 * The IDs can be checked by echoing the contents of `$package['rates']` in `plugins/
   woocommerce/includes/class-wc-shipping.php`, which is where the `woocommerce_package_rates`
   filters are applied.
 * I found that the method IDs on my local environment are named like this: `flexible_shipping_ups:
   2:01`, etc, but they weren’t the same for the production environment. I ended
   up doing the following & setting a minimum no matter what method is used.
 *     ```
       add_filter( 'woocommerce_package_rates', function( $shipping_costs, $package ) {
         $shipping_min_cost = 15;
   
         foreach( $shipping_costs as $shipping_cost ) {
           $shipping_method_id = $shipping_cost->get_id();
           $cost = (float) $shipping_cost->get_cost();
           if( $cost < $shipping_min_cost ) {
             $shipping_cost->set_cost($shipping_min_cost);
           }
         }
         return $shipping_costs;
       }, 1, 2);
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Shipping Live Rates and Access Points for UPS for WooCommerce] Set a minimum shipping cost](https://wordpress.org/support/topic/set-a-minimum-shipping-cost/)
 *  Thread Starter [afoc](https://wordpress.org/support/users/afoc/)
 * (@afoc)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/set-a-minimum-shipping-cost/#post-12402987)
 * Ok, thank you for the quick response.

Viewing 6 replies - 1 through 6 (of 6 total)