• Resolved Etienne

    (@epipo)


    Hello,

    I am customizing the account page and I need to move default fields around for my layout. Is there a way to just change the priority of default fields or do I need to remove the fields to add them again with a new priority?

    Thanks for your help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jeff Farthing

    (@jfarthing84)

    Try this:

    
    if ( $field = tml_get_form_field( 'form_name', 'field_name' ) ) {
        $field->set_priority( 100 );
    }
    
    Thread Starter Etienne

    (@epipo)

    Works great! Thanks for your help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Changing priority of default fields’ is closed to new replies.