• Resolved bellesbees

    (@bellesbees)


    I’m trying to create a custom field for the tickets, it adds to the ticket ok, but will only display a ‘select’ field and never anything else even though I set field_type to be text, textarea etc

    here’s what I’m using:

    wpas_add_custom_taxonomy( 'your_customer_name', 
    array( 
    'title' => 'Your Customer\'s Name', 
    'field_type' => 'text',
    'order' => 1 
    ) 
    );

    Hope you can help 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • add_action( ‘plugins_loaded’, ‘wpas_user_custom_fields’ );
    function wpas_user_custom_fields() {

    wpas_add_custom_field( ‘custom_text’,
    array(
    ‘title’ => __( ‘name’, ‘wpas’ ),
    ‘field_type’ => ‘text’,
    ‘show_column’ => true
    )
    );

    }

    Thread Starter bellesbees

    (@bellesbees)

    super, works a treat 🙂
    thanks.

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

The topic ‘Problem with custom fields (field type not recognised)’ is closed to new replies.