mycred_transfer_autofill_by

Description

This filter allows you to add / remove autocomplete options in the Transfer add-on.

Available since version 1.6

Parameters

Param Type Required Description
$options array Yes

An associative array of autocomplete value and label that is shown in the dropdown menu.

$settings array No

The transfer add-on settings.

Used By

Package Prio. Description
Not used by any built-in package.

Examples

Example 1: Add the option to disable Autocomplete in our transfer settings.

function mycred_pro_disable_autocomplete_option( $options ) {

	$options['none'] = 'Disable Autocomplete';

	return $options;

}
add_filter( 'mycred_transfer_autofill_by', 'mycred_pro_disable_autocomplete_option' );