WordPress filter hook

ddfw_form_field_args

Fired by 13 WordPress plugins, running on 410+ sites between them.

How to use ddfw_form_field_args

It's a filter: your callback receives the value and 2 more arguments, and must return the (changed) value. Add this to your theme's functions.php or a small custom plugin:

functions.php
add_filter( 'ddfw_form_field_args', function( $args, $name, $value ) {
	// Change $args here.
	return $args;
}, 10, 3 );

Argument names come from Affiliates for WooCommerce's source. Other plugins may pass different values: check the call in the plugin you're targeting below.

13 plugins that fire ddfw_form_field_args

Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.

  1. Affiliates for WooCommerce icon Affiliates for WooCommerce300+ installs apply_filters( 'ddfw_form_field_args', $args, $name, $value ) devdiggers-framework/includes/class-ddfw-form-field.php:89
  2. Order via Chat for WooCommerce icon Order via Chat for WooCommerce30+ installs apply_filters( 'ddfw_form_field_args', $args, $name, $value ) devdiggers-framework/includes/class-ddfw-form-field.php:89
  3. Wallet & Store Credit for WooCommerce icon Wallet & Store Credit for WooCommerce20+ installs apply_filters( 'ddfw_form_field_args', $args, $name, $value ) devdiggers-framework/includes/class-ddfw-form-field.php:89
  4. Progressive Web App icon Progressive Web App20+ installs apply_filters( 'ddfw_form_field_args', $args, $name, $value ) devdiggers-framework/includes/class-ddfw-form-field.php:89
  5. MultiPOS icon MultiPOS20+ installs apply_filters( 'ddfw_form_field_args', $args, $name, $value ) devdiggers-framework/includes/class-ddfw-form-field.php:89
  6. LoyaltyX icon LoyaltyX20+ installs apply_filters( 'ddfw_form_field_args', $args, $name, $value ) devdiggers-framework/includes/class-ddfw-form-field.php:89
  7. Prescription for WooCommerce icon Prescription for WooCommerceFewer than 10 installs apply_filters( 'ddfw_form_field_args', $args, $name, $value ) devdiggers-framework/includes/class-ddfw-form-field.php:89
  8. Pre-Order for WooCommerce with Release Date & Countdown icon Pre-Order for WooCommerce with Release Date & CountdownFewer than 10 installs apply_filters( 'ddfw_form_field_args', $args, $name, $value ) devdiggers-framework/includes/class-ddfw-form-field.php:89
  9. Buy Now Pay Later for WooCommerce icon Buy Now Pay Later for WooCommerceFewer than 10 installs apply_filters( 'ddfw_form_field_args', $args, $name, $value ) devdiggers-framework/includes/class-ddfw-form-field.php:89
  10. Hide Price for WooCommerce icon Hide Price for WooCommerceFewer than 10 installs apply_filters( 'ddfw_form_field_args', $args, $name, $value ) devdiggers-framework/includes/class-ddfw-form-field.php:89
  11. Order Communication for WooCommerce icon Order Communication for WooCommerceFewer than 10 installs apply_filters( 'ddfw_form_field_args', $args, $name, $value ) devdiggers-framework/includes/class-ddfw-form-field.php:89
  12. Returns Portal & RMA for WooCommerce icon Returns Portal & RMA for WooCommerceFewer than 10 installs apply_filters( 'ddfw_form_field_args', $args, $name, $value ) devdiggers-framework/includes/class-ddfw-form-field.php:89
  13. AR for WooCommerce icon AR for WooCommerceFewer than 10 installs apply_filters( 'ddfw_form_field_args', $args, $name, $value ) devdiggers-framework/includes/class-ddfw-form-field.php:89

Need a customisation built on this hook?

Tell us what you want to change and which plugin it's for. We'll write it, test it and send it back as a small plugin.