Title: Increaseo's Replies | WordPress.org

---

# Increaseo

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Eway Payment Gateway] Filter for payment method type?](https://wordpress.org/support/topic/filter-for-payment-method-type/)
 *  Thread Starter [Increaseo](https://wordpress.org/support/users/incdigital/)
 * (@incdigital)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/filter-for-payment-method-type/#post-15951775)
 * Thank you [@webaware](https://wordpress.org/support/users/webaware/) – we’ve 
   tested this to be working perfectly. Appreciated! 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Eway Payment Gateway] Filter for payment method type?](https://wordpress.org/support/topic/filter-for-payment-method-type/)
 *  Thread Starter [Increaseo](https://wordpress.org/support/users/incdigital/)
 * (@incdigital)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/filter-for-payment-method-type/#post-15949064)
 * Hey [@webaware](https://wordpress.org/support/users/webaware/) I’m following 
   up above – is the status change something that should work within the plugin 
   or is that for something to do?
 * We’d rather not create temp fix if this should be done by plugin – but can create
   a workaround on our end if won’t be fixed at plugin level.
 * Any clarity you could provide if you’ll consider fixing or not would be appreciated,
   thank you!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Eway Payment Gateway] Filter for payment method type?](https://wordpress.org/support/topic/filter-for-payment-method-type/)
 *  Thread Starter [Increaseo](https://wordpress.org/support/users/incdigital/)
 * (@incdigital)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/filter-for-payment-method-type/#post-15856819)
 * Hi [@webaware](https://wordpress.org/support/users/webaware/) the new filter 
   is working otherwise as expected, but the order status is getting set as `Processing`,
   not `On hold`.
 * Code example:
 *     ```
       function inc_woocommerce_eway_method_capture( $capture ) {
       	$custom_product_id = get_page_by_title( 'x', OBJECT, 'product' );
       	$cart_content_ids  = array_merge(
       		wp_list_pluck( WC()->cart->get_cart_contents(), 'variation_id' ),
       		wp_list_pluck( WC()->cart->get_cart_contents(), 'product_id' )
       	);
       	if ( in_array( $custom_product_id->ID, $cart_content_ids, true ) ) {
       		$capture = false;
       	}
       	return $capture;
       }
       add_filter( 'woocommerce_eway_method_capture', 'inc_woocommerce_eway_method_capture', 10, 1 );
       ```
   
 * Should we be manually setting that or should that be automatic with [https://github.com/webaware/eway-payment-gateway/blob/master/includes/integrations/class.WooCommerce.php#L588-L595](https://github.com/webaware/eway-payment-gateway/blob/master/includes/integrations/class.WooCommerce.php#L588-L595)?
 * Thanks!
    -  This reply was modified 3 years, 9 months ago by [Increaseo](https://wordpress.org/support/users/incdigital/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Eway Payment Gateway] Filter for payment method type?](https://wordpress.org/support/topic/filter-for-payment-method-type/)
 *  Thread Starter [Increaseo](https://wordpress.org/support/users/incdigital/)
 * (@incdigital)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/filter-for-payment-method-type/#post-15773293)
 * Thank you for the speedy response and filter – really appreciated! 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Favorites] Custom Fields Not Displaying](https://wordpress.org/support/topic/custom-fields-not-displaying-9/)
 *  [Increaseo](https://wordpress.org/support/users/incdigital/)
 * (@incdigital)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/custom-fields-not-displaying-9/#post-9768694)
 * Same for us, here’s what we found out if someone wants to debug further:
 * FILE favorites/app/Entities/FavoriteList/FavoriteListingPresenter.php FUNCTION
   private function replaceCustomFields()
 * `$meta = get_post_meta($this->favorite, $key, true);`
 * doesn’t work. When we changed to ACF model:
 * `$meta = get_field( "$key", $this->favorite);`
 * we were able to get the first value when using shortcode [our_custom_field], 
   if our ACF field was named car we’d use [car] or named field_cars [field_cars].
 * We ended up hardcoding the shortcodes like this:
 *     ```
       private function replaceCustomFields() {
       $field = get_field( "our_custom_field", $this->favorite);
       $this->html = str_replace('[our_custom_field]', $field, $this->html);
       }
       ```
   
 * The issue with original function is (at least):
 * – it doesn’t work with ACF
    – when changing to use `get_field( "$key", $this-
   >favorite)` it only gets the first one
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Search Everything] disable search everything for admin area](https://wordpress.org/support/topic/disable-search-everything-for-admin-area/)
 *  [Increaseo](https://wordpress.org/support/users/incdigital/)
 * (@incdigital)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/disable-search-everything-for-admin-area/#post-9158599)
 * Thanks [@neookano](https://wordpress.org/support/users/neookano/) – this fixed
   also Woocommerce category filtering issue!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Theme My Login] Custom Login Error Messages](https://wordpress.org/support/topic/custom-login-error-messages-2/)
 *  Thread Starter [Increaseo](https://wordpress.org/support/users/incdigital/)
 * (@incdigital)
 * [9 years ago](https://wordpress.org/support/topic/custom-login-error-messages-2/#post-9064161)
 * Smuglet – best be you create your own thread as I’ve marked this one resolved
   and yours is a different issue 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Theme My Login] Custom Login Error Messages](https://wordpress.org/support/topic/custom-login-error-messages-2/)
 *  Thread Starter [Increaseo](https://wordpress.org/support/users/incdigital/)
 * (@incdigital)
 * [9 years ago](https://wordpress.org/support/topic/custom-login-error-messages-2/#post-9062161)
 * Found answer at [https://wordpress.stackexchange.com/questions/233189/overriding-wp-login-credentials/233214](https://wordpress.stackexchange.com/questions/233189/overriding-wp-login-credentials/233214)
 * Would be nice if this was in the docs, would save the google session hours 😉

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