Add additional autocomplete options
/** * @param array $options * @param array $field */ function add_custom_autocomplete_option_for_field( $options, $field ) { $target_field_id = 13; // change 13 to your text field ID if ( $target_field_id !== (int) $field[‘id’] ) { return $options; } $options[‘cc-name’] =…Continue reading