Support

Account

Home Forums Front-end Issues Show 'prepend' text from number field Reply To: Show 'prepend' text from number field

  • 
    add_filter('acf/load_field/name=YOUR_FIELD_NAME', 'YOUR_FUNCTION_NAME', 20);
    YOUR_FUNCTION_NAME($field) {
      $field['prepend'] = get_field('OPTION_FIELD_NAME', 'options');
      return $field;
    }